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