1 write to MethodInfo
Microsoft.AspNetCore.Hosting (1)
Internal\ConfigureContainerBuilder.cs (1)
13
MethodInfo
= configureContainerMethod;
8 references to MethodInfo
Microsoft.AspNetCore.Hosting (8)
GenericHost\GenericWebHostBuilder.cs (1)
247
if (configureContainerBuilder.
MethodInfo
!= null)
Internal\ConfigureContainerBuilder.cs (5)
24
Debug.Assert(
MethodInfo
!= null, "Shouldn't be called when there is no Configure method.");
26
var parameters =
MethodInfo
.GetParameters();
30
throw new InvalidOperationException($"The {
MethodInfo
.Name} method must take only one parameter.");
44
if (
MethodInfo
== null)
51
MethodInfo
.InvokeWithoutWrappingExceptions(instance, arguments);
Internal\StartupLoader.cs (2)
55
var type = configureContainerMethod.
MethodInfo
!= null ? configureContainerMethod.GetContainerType() : typeof(object);
149
if (ConfigureContainerBuilder.
MethodInfo
!= null)