17 references to RequestDelegateGeneratorSources
Microsoft.AspNetCore.Http.RequestDelegateGenerator (17)
RequestDelegateGenerator.cs (15)
87
codeWriter.WriteLine($"options.EndpointBuilder.Metadata.Add(new {
RequestDelegateGeneratorSources
.GeneratedCodeConstructor});");
190
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.ResolveFromRouteOrQueryMethod);
195
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.TryResolveBodyAsyncMethod);
200
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.TryResolveFormAsyncMethod);
205
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.BindAsyncMethod);
210
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.ResolveJsonBodyOrServiceMethod);
215
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.TryParseExplicitMethod);
220
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.ExecuteAsyncExplicitMethod);
225
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.PopulateEndpointMetadataMethod);
230
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.PopulateEndpointParameterMetadataMethod);
251
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.AntiforgeryMetadataType);
256
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.ContentTypeConstantsType);
261
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.PropertyAsParameterInfoClass);
266
codeWriter.WriteLine(
RequestDelegateGeneratorSources
.ParameterBindingMetadataClass);
287
var code =
RequestDelegateGeneratorSources
.GetGeneratedRouteBuilderExtensionsSource(
RequestDelegateGeneratorSources.cs (2)
27
public static string GeneratedCodeConstructor => $@"System.CodeDom.Compiler.GeneratedCodeAttribute(""{typeof(
RequestDelegateGeneratorSources
).Assembly.FullName}"", ""{typeof(
RequestDelegateGeneratorSources
).Assembly.GetName().Version}"")";