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