internal IBootstrapProvider GetBootstrapProvider(string name) { var bootstrapProviderManager = this.host.Services.GetRequiredService <BootstrapProviderManager>(); IBootstrapProvider provider = (IBootstrapProvider)bootstrapProviderManager.GetProvider(name); return(CheckReturnBoundaryReference("bootstrap provider", provider)); }
internal IBootstrapProvider GetBootstrapProvider(string name) { IBootstrapProvider provider = silo.BootstrapProviders.First(p => p.Name.Equals(name)); return(CheckReturnBoundaryReference("bootstrap provider", provider)); }