public DependencyResolutionException(IServiceProvider services) { this.services = services; this.tenant1 = services.GetService <DepPerTenant>();; this.singleton = services.GetService <DepSingleton>(); this.scoped = services.GetService <DepScoped>(); }
public Test3Controller( IServiceProvider services, DepSingleton singleton, DepScoped scoped) { this.singleton = singleton; this.scoped = scoped; this.services = services; }
public Test1Controller( IServiceProvider services, DepSingleton singleton, DepPerTenant tenant1, DepScoped scoped) { this.tenant1 = tenant1; this.singleton = singleton; this.scoped = scoped; this.services = services; }