private void ConfigureTenantPipeline(IApplicationBuilder appBuilder) { V_0 = new ModularTenantRouterMiddleware.u003cu003ec__DisplayClass7_0(); V_0.appBuilder = appBuilder; V_0.startups = ServiceProviderServiceExtensions.GetServices <IStartup>(V_0.appBuilder.get_ApplicationServices()); stackVariable8 = V_0; stackVariable10 = V_0.startups; stackVariable11 = ModularTenantRouterMiddleware.u003cu003ec.u003cu003e9__7_0; if (stackVariable11 == null) { dummyVar0 = stackVariable11; stackVariable11 = new Func <IStartup, int>(ModularTenantRouterMiddleware.u003cu003ec.u003cu003e9.u003cConfigureTenantPipelineu003eb__7_0); ModularTenantRouterMiddleware.u003cu003ec.u003cu003e9__7_0 = stackVariable11; } stackVariable8.startups = stackVariable10.OrderBy <IStartup, int>(stackVariable11); dummyVar1 = EndpointRoutingApplicationBuilderExtensions.UseEndpoints(EndpointRoutingApplicationBuilderExtensions.UseRouting(V_0.appBuilder), new Action <IEndpointRouteBuilder>(V_0.u003cConfigureTenantPipelineu003eb__1)); return; }
/// <summary> /// /// </summary> /// <param name="type"></param> /// <returns></returns> public IEnumerable <object> GetServices(Type type) { return(ServiceProviderServiceExtensions.GetServices(serviceProvider, type)); }
public System.Collections.Generic.IEnumerable <T> ResolveAll <T>() { return(ServiceProviderServiceExtensions.GetServices <T>(_serviceProvider)); }