30 references to FormatString
Microsoft.NET.Build.Containers (30)
AuthHandshakeMessageHandler.cs (4)
239
Resource.
FormatString
(nameof(Strings.InvalidAuthResponse_RelativeOrUnparseableRealm), realm));
254
Resource.
FormatString
(nameof(Strings.InvalidAuthResponse_DisallowedScheme), realm, realmUri.Scheme));
272
Resource.
FormatString
(nameof(Strings.InvalidAuthResponse_PrivateIpLiteralRealm), realm, realmHost));
284
Resource.
FormatString
(nameof(Strings.InvalidAuthResponse_PrivateIpLiteralRealm), realm, realmHost));
ContentStore.cs (1)
37
_ => throw new ArgumentException(Resource.
FormatString
(nameof(Strings.UnrecognizedMediaType), descriptor.MediaType))
Credentials\CredentialRetrievalException.cs (1)
12
Resource.
FormatString
(nameof(Strings.FailedRetrievingCredentials), registry, innerException.Message),
Exceptions\InvalidAuthResponseException.cs (1)
15
: base(Resource.
FormatString
(nameof(Strings.InvalidRegistryAuthResponse), registry, reason), innerException)
ImageBuilder.cs (1)
246
Resource.
FormatString
(
Layer.cs (1)
207
_ => throw new ArgumentException(Resource.
FormatString
(nameof(Strings.UnrecognizedMediaType), manifestMediaType))
LocalDaemons\ContainerArchive.cs (2)
49
throw new NotSupportedException(Resource.
FormatString
(nameof(Strings.UnsupportedMediaTypeForTarball), image.ManifestMediaType));
123
throw new NotImplementedException(Resource.
FormatString
(
LocalDaemons\ContainerRuntime.cs (1)
213
=> new(Resource.
FormatString
(Strings.ContainerRuntimeProcessCreationFailed, GetCommandsForCurrentPlatform()));
LocalDaemons\ContainerRuntimeOperations.cs (2)
81
throw new DockerLoadException(Resource.
FormatString
(nameof(Strings.ImageLoadFailed), output.StandardError));
118
throw new DockerLoadException(Resource.
FormatString
(nameof(Strings.ImageLoadFailed), stderr));
LocalDaemons\ContainerRuntimes.cs (3)
154
throw new DockerLoadException(Resource.
FormatString
(
165
throw new DockerLoadException(Resource.
FormatString
(nameof(Strings.DockerInfoFailed_Ex), e.Message));
316
throw new DockerLoadException(Resource.
FormatString
(nameof(Strings.ImageLoadFailed), stderr));
LocalDaemons\DockerCli.cs (7)
79
throw new NotImplementedException(Resource.
FormatString
(Strings.ContainerRuntimeProcessCreationFailed, Commands));
113
throw new NotImplementedException(Resource.
FormatString
(Strings.ContainerRuntimeProcessCreationFailed, commandPath));
129
throw new DockerLoadException(Resource.
FormatString
(nameof(Strings.ImageLoadFailed), await loadProcess.StandardError.ReadToEndAsync(cancellationToken).ConfigureAwait(false)));
217
throw new DockerLoadException(Resource.
FormatString
(
228
throw new DockerLoadException(Resource.
FormatString
(nameof(Strings.DockerInfoFailed_Ex), e.Message));
300
throw new ArgumentException(Resource.
FormatString
(nameof(Strings.UnsupportedMediaTypeForTarball), image.ManifestMediaType));
353
throw new NotImplementedException(Resource.
FormatString
(
LocalDaemons\KnownLocalRegistryTypes.cs (1)
45
Resource.
FormatString
(
Registry\DefaultBlobUploadOperations.cs (3)
38
string errorMessage = Resource.
FormatString
(nameof(Strings.BlobUploadFailed), $"PUT {putUri}", finalizeResponse.StatusCode);
58
string errorMessage = Resource.
FormatString
(nameof(Strings.BlobUploadFailed), $"POST {startUploadUri}", pushResponse.StatusCode);
118
string errorMessage = Resource.
FormatString
(nameof(Strings.BlobUploadFailed), $"PATCH {uploadUri}", patchResponse.StatusCode);
Registry\DefaultManifestOperations.cs (1)
51
throw new ContainerHttpException(Resource.
FormatString
(nameof(Strings.RegistryPushFailed), putResponse.StatusCode), putResponse.RequestMessage?.RequestUri?.ToString(), putResponse.StatusCode);
Registry\Registry.cs (1)
218
var unknownMediaType => throw new NotImplementedException(Resource.
FormatString
(