19 references to Resources
Microsoft.AspNetCore.Http.Abstractions (19)
artifacts\obj\Microsoft.AspNetCore.Http.Abstractions\Release\net10.0\Microsoft.AspNetCore.Http.Abstractions.Resources.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
Resources
)));
CookieBuilder.cs (1)
24
: throw new ArgumentException(
Resources
.ArgumentCannotBeNullOrEmpty, nameof(value));
Extensions\UseMiddlewareExtensions.cs (13)
60
throw new NotSupportedException(
Resources
.FormatException_UseMiddlewareExplicitArgumentsNotSupported(typeof(IMiddleware)));
75
throw new InvalidOperationException(
Resources
.FormatException_UseMiddleMutlipleInvokes(InvokeMethodName, InvokeAsyncMethodName));
84
throw new InvalidOperationException(
Resources
.FormatException_UseMiddlewareNoInvokeMethod(InvokeMethodName, InvokeAsyncMethodName, middleware));
89
throw new InvalidOperationException(
Resources
.FormatException_UseMiddlewareNonTaskReturnType(InvokeMethodName, InvokeAsyncMethodName, nameof(Task)));
95
throw new InvalidOperationException(
Resources
.FormatException_UseMiddlewareNoParameters(InvokeMethodName, InvokeAsyncMethodName, nameof(HttpContext)));
148
throw new InvalidOperationException(
Resources
.FormatException_UseMiddlewareIServiceProviderNotAvailable(nameof(IServiceProvider)));
176
throw new InvalidOperationException(
Resources
.FormatException_UseMiddlewareNoMiddlewareFactory(typeof(IMiddlewareFactory)));
183
throw new InvalidOperationException(
Resources
.FormatException_UseMiddlewareUnableToCreateMiddleware(middlewareFactory.GetType(), _middlewareType));
209
throw new NotSupportedException(
Resources
.FormatException_InvokeDoesNotSupportRefOrOutParams(InvokeMethodName));
309
throw new NotSupportedException(
Resources
.FormatException_InvokeDoesNotSupportRefOrOutParams(InvokeMethodName));
330
var service = sp.GetService(type) ?? throw new InvalidOperationException(
Resources
.FormatException_InvokeMiddlewareNoService(type, middleware));
339
var service = ksp.GetKeyedService(type, key) ?? throw new InvalidOperationException(
Resources
.FormatException_InvokeMiddlewareNoService(type, middleware));
344
throw new InvalidOperationException(
Resources
.Exception_KeyedServicesNotSupported);
HostString.cs (1)
52
throw new ArgumentOutOfRangeException(nameof(port),
Resources
.Exception_PortMustBeGreaterThanZero);
PathString.cs (1)
41
throw new ArgumentException(
Resources
.FormatException_PathMustStartWithSlash(nameof(value)), nameof(value));
Routing\RouteValueDictionary.cs (2)
378
var message =
Resources
.FormatRouteValueDictionary_DuplicateKey(key, nameof(RouteValueDictionary));
909
var message =
Resources
.FormatRouteValueDictionary_DuplicatePropertyName(