There are lots of cases that you can improve. The examples use nullable reference types, but only the WhenNotNull
example requires it.
Consider adopting the new property pattern, wherever you use IsNullOrEmpty
.
string? hello = "hello world";
There are lots of cases that you can improve. The examples use nullable reference types, but only the WhenNotNull
example requires it.
Consider adopting the new property pattern, wherever you use IsNullOrEmpty
.
string? hello = "hello world";
# downloading the dotnet sdk image. Could be any docker sdk image with sdk > 2.1.500 | |
FROM microsoft/dotnet:2.1-sdk AS dotnet-builder | |
ARG FEED_URL | |
ARG PAT | |
# download and install latest credential provider. Not required after https://github.com/dotnet/dotnet-docker/issues/878 | |
RUN wget -qO- https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh | bash | |
#Optional | |
WORKDIR /workdir |
// Copyright 2013, Sid Shetye | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |