1 write to EndpointBuilder
Microsoft.AspNetCore.Routing (1)
RouteEndpointDataSource.cs (1)
297EndpointBuilder = builder,
782 references to EndpointBuilder
Microsoft.AspNetCore.Http.Extensions (5)
RequestDelegateFactory.cs (4)
172/// <see cref="InferMetadata(MethodInfo, RequestDelegateFactoryOptions?)"/> would have inferred for the same <see cref="Delegate.Method"/> and populate <see cref="RequestDelegateFactoryOptions.EndpointBuilder"/> 224/// <see cref="InferMetadata(MethodInfo, RequestDelegateFactoryOptions?)"/> would have inferred for the same <see cref="Delegate.Method"/> and populate <see cref="RequestDelegateFactoryOptions.EndpointBuilder"/> 276var serviceProvider = options?.ServiceProvider ?? options?.EndpointBuilder?.ApplicationServices ?? EmptyServiceProvider.Instance; 277var endpointBuilder = options?.EndpointBuilder ?? new RdfEndpointBuilder(serviceProvider);
RequestDelegateMetadataResult.cs (1)
8/// <see cref="RequestDelegateFactoryOptions.EndpointBuilder"/> will be automatically populated with this metadata if provided.
Microsoft.AspNetCore.Identity (137)
GeneratedRouteBuilderExtensions.g.cs (137)
71Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 72options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 73options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.RegisterRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 75options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("registration", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 76options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("context", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 77options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[2], hasTryParse: false, hasBindAsync: false, isOptional: false)); 78PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem>>(methodInfo, options.EndpointBuilder); 79return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 84Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 85Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 86Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 89var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 97if (options.EndpointBuilder.FilterFactories.Count > 0) 109options.EndpointBuilder, 190Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 191options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 192options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 194options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("login", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 195options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("useCookies", parameters[1], hasTryParse: true, hasBindAsync: false, isOptional: true)); 196options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("useSessionCookies", parameters[2], hasTryParse: true, hasBindAsync: false, isOptional: true)); 197options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[3], hasTryParse: false, hasBindAsync: false, isOptional: false)); 198PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse>, global::Microsoft.AspNetCore.Http.HttpResults.EmptyHttpResult, global::Microsoft.AspNetCore.Http.HttpResults.ProblemHttpResult>>(methodInfo, options.EndpointBuilder); 199return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 204Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 205Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 206Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 209var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 217if (options.EndpointBuilder.FilterFactories.Count > 0) 229options.EndpointBuilder, 376Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 377options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 378options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.RefreshRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 380options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("refreshRequest", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 381options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 382PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse>, global::Microsoft.AspNetCore.Http.HttpResults.UnauthorizedHttpResult, global::Microsoft.AspNetCore.Http.HttpResults.SignInHttpResult, global::Microsoft.AspNetCore.Http.HttpResults.ChallengeHttpResult>>(methodInfo, options.EndpointBuilder); 383return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 388Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 389Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 390Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 393var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 401if (options.EndpointBuilder.FilterFactories.Count > 0) 413options.EndpointBuilder, 492Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 493options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 495options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("userId", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 496options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("code", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 497options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("changedEmail", parameters[2], hasTryParse: false, hasBindAsync: false, isOptional: true)); 498options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[3], hasTryParse: false, hasBindAsync: false, isOptional: false)); 499PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.ContentHttpResult, global::Microsoft.AspNetCore.Http.HttpResults.UnauthorizedHttpResult>>(methodInfo, options.EndpointBuilder); 500return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 505Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 506Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 507Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 510var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 517if (options.EndpointBuilder.FilterFactories.Count > 0) 529options.EndpointBuilder, 638Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 639options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 640options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.ResendConfirmationEmailRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 642options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("resendRequest", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 643options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("context", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 644options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[2], hasTryParse: false, hasBindAsync: false, isOptional: false)); 645PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Ok>(methodInfo, options.EndpointBuilder); 646return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 651Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 652Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 653Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 656var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 664if (options.EndpointBuilder.FilterFactories.Count > 0) 676options.EndpointBuilder, 757Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 758options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 759options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 761options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("resetRequest", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 762options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 763PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem>>(methodInfo, options.EndpointBuilder); 764return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 769Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 770Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 771Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 774var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 782if (options.EndpointBuilder.FilterFactories.Count > 0) 794options.EndpointBuilder, 873Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 874options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 875options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.ResetPasswordRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 877options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("resetRequest", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 878options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 879PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem>>(methodInfo, options.EndpointBuilder); 880return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 885Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 886Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 887Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 890var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 898if (options.EndpointBuilder.FilterFactories.Count > 0) 910options.EndpointBuilder, 989Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 990options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 991options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 993options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("claimsPrincipal", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 994options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("tfaRequest", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 995options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[2], hasTryParse: false, hasBindAsync: false, isOptional: false)); 996PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Microsoft.AspNetCore.Identity.Data.TwoFactorResponse>, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem, global::Microsoft.AspNetCore.Http.HttpResults.NotFound>>(methodInfo, options.EndpointBuilder); 997return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1002Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1003Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1004Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1007var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1015if (options.EndpointBuilder.FilterFactories.Count > 0) 1027options.EndpointBuilder, 1108Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1109options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1111options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("claimsPrincipal", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1112options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1113PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Microsoft.AspNetCore.Identity.Data.InfoResponse>, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem, global::Microsoft.AspNetCore.Http.HttpResults.NotFound>>(methodInfo, options.EndpointBuilder); 1114return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1119Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1120Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1121Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1124var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1131if (options.EndpointBuilder.FilterFactories.Count > 0) 1143options.EndpointBuilder, 1210Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1211options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1212options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 1214options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("claimsPrincipal", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1215options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("infoRequest", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1216options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("context", parameters[2], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1217options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("sp", parameters[3], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1218PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Microsoft.AspNetCore.Identity.Data.InfoResponse>, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem, global::Microsoft.AspNetCore.Http.HttpResults.NotFound>>(methodInfo, options.EndpointBuilder); 1219return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1224Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1225Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1226Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1229var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1237if (options.EndpointBuilder.FilterFactories.Count > 0) 1249options.EndpointBuilder,
Microsoft.AspNetCore.OpenApi (11)
GeneratedRouteBuilderExtensions.g.cs (11)
70Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 71options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 73options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("context", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 74options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("documentName", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: true)); 75return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 80Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 81Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 82Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 85var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 93if (options.EndpointBuilder.FilterFactories.Count > 0) 104options.EndpointBuilder,
Microsoft.AspNetCore.Routing (8)
Builder\EndpointRouteBuilderExtensions.cs (3)
208if (options.EndpointBuilder?.FilterFactories.Count > 0) 213IReadOnlyList<object> metadata = options.EndpointBuilder?.Metadata is not null ? 214new List<object>(options.EndpointBuilder.Metadata) :
RequestDelegateFilterPipelineBuilder.cs (5)
19Debug.Assert(options.EndpointBuilder != null); 21var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 28ApplicationServices = options.EndpointBuilder.ApplicationServices 42for (var i = options.EndpointBuilder.FilterFactories.Count - 1; i >= 0; i--) 44var currentFilterFactory = options.EndpointBuilder.FilterFactories[i];
Sample (621)
artifacts\obj\Sample\Release\net10.0\generated\Microsoft.AspNetCore.Http.RequestDelegateGenerator\Microsoft.AspNetCore.Http.RequestDelegateGenerator.RequestDelegateGenerator\GeneratedRouteBuilderExtensions.g.cs (621)
72Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 73options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 75options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("documentName", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 76return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 81Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 82Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 83Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 86var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 94if (options.EndpointBuilder.FilterFactories.Count > 0) 104options.EndpointBuilder, 182Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 183options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 184options.EndpointBuilder.Metadata.Add(AntiforgeryMetadata.ValidationRequired); 185options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(contentTypes: GeneratedMetadataConstants.FormFileContentType)); 187options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("resume", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 188return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 193Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 194Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 195Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 198var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 205if (options.EndpointBuilder.FilterFactories.Count > 0) 215options.EndpointBuilder, 303Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 304options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 305options.EndpointBuilder.Metadata.Add(AntiforgeryMetadata.ValidationRequired); 306options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(contentTypes: GeneratedMetadataConstants.FormFileContentType)); 308options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("files", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 309return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 314Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 315Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 316Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 319var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 326if (options.EndpointBuilder.FilterFactories.Count > 0) 336options.EndpointBuilder, 424Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 425options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 426options.EndpointBuilder.Metadata.Add(AntiforgeryMetadata.ValidationRequired); 427options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(contentTypes: GeneratedMetadataConstants.FormFileContentType)); 429options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("resume", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 430options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("files", parameters[1], hasTryParse: false, hasBindAsync: false, isOptional: false)); 431return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 436Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 437Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 438Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 441var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 448if (options.EndpointBuilder.FilterFactories.Count > 0) 458options.EndpointBuilder, 565Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 566options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 567options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::TodoWithDueDate), contentTypes: GeneratedMetadataConstants.JsonContentType)); 568DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 569return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 574Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 575Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 576Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 579var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 586if (options.EndpointBuilder.FilterFactories.Count > 0) 596options.EndpointBuilder, 650Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 651options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 652options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::Triangle), contentTypes: GeneratedMetadataConstants.JsonContentType)); 653DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 654return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 659Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 660Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 661Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 664var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 671if (options.EndpointBuilder.FilterFactories.Count > 0) 681options.EndpointBuilder, 735Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 736options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 737options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::Shape), contentTypes: GeneratedMetadataConstants.JsonContentType)); 738DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 739return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 744Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 745Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 746Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 749var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 756if (options.EndpointBuilder.FilterFactories.Count > 0) 766options.EndpointBuilder, 820Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 821options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 822PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Triangle>>(methodInfo, options.EndpointBuilder); 823return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 828Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 829Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 830Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 833var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 839if (options.EndpointBuilder.FilterFactories.Count > 0) 849options.EndpointBuilder, 907Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 908options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 909PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Triangle>, global::Microsoft.AspNetCore.Http.HttpResults.NotFound<global::System.String>>>(methodInfo, options.EndpointBuilder); 910return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 915Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 916Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 917Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 920var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 926if (options.EndpointBuilder.FilterFactories.Count > 0) 936options.EndpointBuilder, 995Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 996options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 997return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1002Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1003Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1004Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1007var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1013if (options.EndpointBuilder.FilterFactories.Count > 0) 1023options.EndpointBuilder, 1081Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1082options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1084options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("id", parameters[0], hasTryParse: true, hasBindAsync: false, isOptional: false)); 1085options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("size", parameters[1], hasTryParse: true, hasBindAsync: false, isOptional: false)); 1086return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1091Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1092Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1093Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1096var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1105if (options.EndpointBuilder.FilterFactories.Count > 0) 1116options.EndpointBuilder, 1240Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1241options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1242var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1253options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 1254options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 1259options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("product", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1260PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Product>>(methodInfo, options.EndpointBuilder); 1261return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1266Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1267Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1268Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1271var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1280if (options.EndpointBuilder.FilterFactories.Count > 0) 1290options.EndpointBuilder, 1364Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1365options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1366var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1377options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 1378options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 1383options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("account", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1384PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Account>>(methodInfo, options.EndpointBuilder); 1385return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1390Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1391Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1392Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1395var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1404if (options.EndpointBuilder.FilterFactories.Count > 0) 1414options.EndpointBuilder, 1488Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1489options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1491options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("values", parameters[0], hasTryParse: true, hasBindAsync: false, isOptional: false)); 1492options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::System.Int32), contentTypes: GeneratedMetadataConstants.JsonContentType)); 1493DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 1494return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1499Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1500Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1501Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1504var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1513if (options.EndpointBuilder.FilterFactories.Count > 0) 1523options.EndpointBuilder, 1613Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1614options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1615var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1626options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 1627options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 1632options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("values", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1633options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::System.Int32), contentTypes: GeneratedMetadataConstants.JsonContentType)); 1634DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 1635return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1640Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1641Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1642Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1645var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1655if (options.EndpointBuilder.FilterFactories.Count > 0) 1665options.EndpointBuilder, 1735Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1736options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1737var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1748options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 1749options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 1754options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("values", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 1755options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::System.Int32), contentTypes: GeneratedMetadataConstants.JsonContentType)); 1756DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 1757return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1762Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1763Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1764Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1767var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1777if (options.EndpointBuilder.FilterFactories.Count > 0) 1787options.EndpointBuilder, 1857Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1858options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1859options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::System.Collections.Generic.Dictionary<global::System.String, global::System.Int32>), contentTypes: GeneratedMetadataConstants.JsonContentType)); 1860DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 1861return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1866Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1867Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1868Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1871var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1878if (options.EndpointBuilder.FilterFactories.Count > 0) 1888options.EndpointBuilder, 1942Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1943options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 1944options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::System.Collections.Immutable.ImmutableDictionary<global::System.String, global::System.Int32>), contentTypes: GeneratedMetadataConstants.JsonContentType)); 1945DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 1946return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 1951Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 1952Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 1953Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 1956var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 1963if (options.EndpointBuilder.FilterFactories.Count > 0) 1973options.EndpointBuilder, 2027Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2028options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 2029var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2040options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 2041options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 2046options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("shape", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 2047return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 2052Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2053Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 2054Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 2057var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2066if (options.EndpointBuilder.FilterFactories.Count > 0) 2077options.EndpointBuilder, 2146Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2147options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 2148var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2159options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 2160options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 2165options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("forecast", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 2166return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 2171Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2172Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 2173Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 2176var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2185if (options.EndpointBuilder.FilterFactories.Count > 0) 2196options.EndpointBuilder, 2265Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2266options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 2267var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2278options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 2279options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 2284options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("person", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 2285return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 2290Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2291Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 2292Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 2295var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2304if (options.EndpointBuilder.FilterFactories.Count > 0) 2315options.EndpointBuilder, 2384Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2385options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 2386var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2397options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 2398options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 2403options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("category", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 2404return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 2409Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2410Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 2411Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 2414var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2423if (options.EndpointBuilder.FilterFactories.Count > 0) 2434options.EndpointBuilder, 2503Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2504options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 2505var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2516options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 2517options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 2522options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("container", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 2523return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 2528Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2529Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 2530Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 2533var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2542if (options.EndpointBuilder.FilterFactories.Count > 0) 2553options.EndpointBuilder, 2622Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2623options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 2624var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2635options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 2636options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 2641options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("root", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 2642return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 2647Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2648Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 2649Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 2652var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2661if (options.EndpointBuilder.FilterFactories.Count > 0) 2672options.EndpointBuilder, 2741Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2742options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 2743var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2754options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 2755options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 2760options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("location", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 2761return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 2766Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2767Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 2768Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 2771var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2780if (options.EndpointBuilder.FilterFactories.Count > 0) 2791options.EndpointBuilder, 2860Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2861options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 2862var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2873options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 2874options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 2879options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("parent", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 2880return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 2885Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2886Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 2887Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 2890var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2899if (options.EndpointBuilder.FilterFactories.Count > 0) 2909options.EndpointBuilder, 2983Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 2984options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 2985var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 2996options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 2997options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 3002options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("child", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 3003return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 3008Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3009Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 3010Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 3013var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3022if (options.EndpointBuilder.FilterFactories.Count > 0) 3032options.EndpointBuilder, 3106Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3107options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 3108var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3119options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 3120options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 3125options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("patchDoc", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 3128PopulateMetadataForParameter<global::Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument>(patchDoc_ParameterInfo, options.EndpointBuilder); 3129return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 3134Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3135Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 3136Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 3139var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3148if (options.EndpointBuilder.FilterFactories.Count > 0) 3158options.EndpointBuilder, 3232Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3233options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 3234var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3245options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 3246options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 3251options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("patchDoc", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 3254PopulateMetadataForParameter<global::Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument<global::SchemasEndpointsExtensions.ParentObject>>(patchDoc_ParameterInfo, options.EndpointBuilder); 3255return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 3260Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3261Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 3262Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 3265var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3274if (options.EndpointBuilder.FilterFactories.Count > 0) 3284options.EndpointBuilder, 3358Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3359options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 3360return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 3365Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3366Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 3367Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 3370var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3376if (options.EndpointBuilder.FilterFactories.Count > 0) 3386options.EndpointBuilder, 3444Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3445options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 3446var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3457options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 3458options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 3463options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("config", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 3464return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 3469Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3470Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 3471Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 3474var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3483if (options.EndpointBuilder.FilterFactories.Count > 0) 3493options.EndpointBuilder, 3567Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3568options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 3569var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3580options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 3581options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 3586options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("project", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 3587return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 3592Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3593Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 3594Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 3597var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3606if (options.EndpointBuilder.FilterFactories.Count > 0) 3616options.EndpointBuilder, 3690Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3691options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 3692var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3703options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 3704options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 3709options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("subscription", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 3710return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 3715Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3716Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 3717Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 3720var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3729if (options.EndpointBuilder.FilterFactories.Count > 0) 3739options.EndpointBuilder, 3813Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3814options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 3815PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::SchemasEndpointsExtensions.NullableResponseModel>>(methodInfo, options.EndpointBuilder); 3816return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 3821Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3822Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 3823Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 3826var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3832if (options.EndpointBuilder.FilterFactories.Count > 0) 3842options.EndpointBuilder, 3900Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3901options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 3902options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::SchemasEndpointsExtensions.NullableResponseModel), contentTypes: GeneratedMetadataConstants.JsonContentType)); 3903DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 3904return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 3909Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3910Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 3911Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 3914var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3921if (options.EndpointBuilder.FilterFactories.Count > 0) 3931options.EndpointBuilder, 3985Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 3986options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 3987var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 3998options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 3999options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 4004options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("request", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: true)); 4005return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4010Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4011Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4012Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4015var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4024if (options.EndpointBuilder.FilterFactories.Count > 0) 4034options.EndpointBuilder, 4108Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4109options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 4110var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4121options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 4122options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 4127options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("model", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 4128return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4133Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4134Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4135Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4138var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4147if (options.EndpointBuilder.FilterFactories.Count > 0) 4157options.EndpointBuilder, 4231Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4232options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 4233var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4244options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 4245options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 4250options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("model", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 4251return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4256Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4257Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4258Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4261var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4270if (options.EndpointBuilder.FilterFactories.Count > 0) 4280options.EndpointBuilder, 4354Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4355options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 4356PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::SchemasEndpointsExtensions.ModelWithDefaults>>(methodInfo, options.EndpointBuilder); 4357return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4362Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4363Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4364Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4367var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4373if (options.EndpointBuilder.FilterFactories.Count > 0) 4383options.EndpointBuilder, 4441Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4442options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 4443PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::SchemasEndpointsExtensions.EnumNullableModel>>(methodInfo, options.EndpointBuilder); 4444return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4449Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4450Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4451Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4454var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4460if (options.EndpointBuilder.FilterFactories.Count > 0) 4470options.EndpointBuilder, 4528Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4529options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 4531options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("guids", parameters[0], hasTryParse: true, hasBindAsync: false, isOptional: false)); 4532options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::System.Guid[]), contentTypes: GeneratedMetadataConstants.JsonContentType)); 4533DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 4534return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4539Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4540Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4541Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4544var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4553if (options.EndpointBuilder.FilterFactories.Count > 0) 4563options.EndpointBuilder, 4653Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4654options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 4655var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4666options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 4667options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 4672options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("todo", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 4673return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4678Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4679Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4680Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4683var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4692if (options.EndpointBuilder.FilterFactories.Count > 0) 4702options.EndpointBuilder, 4776Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4777options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 4779options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("id", parameters[0], hasTryParse: true, hasBindAsync: false, isOptional: false)); 4780options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::TodoWithDueDate), contentTypes: GeneratedMetadataConstants.JsonContentType)); 4781DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 4782return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4787Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4788Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4789Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4792var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4801if (options.EndpointBuilder.FilterFactories.Count > 0) 4811options.EndpointBuilder, 4901Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4902options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 4903options.EndpointBuilder.Metadata.Add(new ProducesResponseTypeMetadata(statusCode: StatusCodes.Status200OK, type: typeof(global::System.String[]), contentTypes: GeneratedMetadataConstants.JsonContentType)); 4904DisableCookieRedirectMetadata.AddMetadataIfMissing(options.EndpointBuilder); 4905return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4910Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4911Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4912Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4915var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 4922if (options.EndpointBuilder.FilterFactories.Count > 0) 4932options.EndpointBuilder, 4986Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4987options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 4988return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 4993Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 4994Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 4995Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 4998var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5004if (options.EndpointBuilder.FilterFactories.Count > 0) 5014options.EndpointBuilder, 5072Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5073options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 5074var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5085options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 5086options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 5091options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("typeWithExamples", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 5092PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::XmlEndpointExtensions.TypeWithExamples>>(methodInfo, options.EndpointBuilder); 5093return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 5098Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5099Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 5100Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 5103var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5112if (options.EndpointBuilder.FilterFactories.Count > 0) 5122options.EndpointBuilder, 5196Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5197options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 5198var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5209options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 5210options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 5215options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("todo", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 5216return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 5221Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5222Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 5223Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 5226var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5235if (options.EndpointBuilder.FilterFactories.Count > 0) 5246options.EndpointBuilder, 5315Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5316options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 5317var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5328options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 5329options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 5334options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("project", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 5335return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 5340Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5341Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 5342Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 5345var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5354if (options.EndpointBuilder.FilterFactories.Count > 0) 5365options.EndpointBuilder, 5434Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5435options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 5436var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5447options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 5448options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 5453options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("boardItem", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 5454return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 5459Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5460Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 5461Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 5464var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5473if (options.EndpointBuilder.FilterFactories.Count > 0) 5484options.EndpointBuilder, 5553Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5554options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 5555var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5566options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 5567options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 5572options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("projectRecord", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 5573return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 5578Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5579Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 5580Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 5583var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5592if (options.EndpointBuilder.FilterFactories.Count > 0) 5603options.EndpointBuilder, 5672Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5673options.EndpointBuilder.Metadata.Add(new System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.AspNetCore.Http.RequestDelegateGenerator, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60", "42.42.42.42")); 5674var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5685options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: type, isOptional: isOptional, contentTypes: GeneratedMetadataConstants.JsonContentType)); 5686options.EndpointBuilder.Metadata.Add(DisableCookieRedirectMetadata.Instance); 5691options.EndpointBuilder.Metadata.Add(new ParameterBindingMetadata("todo", parameters[0], hasTryParse: false, hasBindAsync: false, isOptional: false)); 5692return new RequestDelegateMetadataResult { EndpointMetadata = options.EndpointBuilder.Metadata.AsReadOnly() }; 5697Debug.Assert(options.EndpointBuilder != null, "EndpointBuilder not found."); 5698Debug.Assert(options.EndpointBuilder.ApplicationServices != null, "ApplicationServices not found."); 5699Debug.Assert(options.EndpointBuilder.FilterFactories != null, "FilterFactories not found."); 5702var serviceProvider = options.ServiceProvider ?? options.EndpointBuilder.ApplicationServices; 5711if (options.EndpointBuilder.FilterFactories.Count > 0) 5722options.EndpointBuilder,