Esempio n. 1
0
        internal IBootstrapProvider GetBootstrapProvider(string name)
        {
            var bootstrapProviderManager = this.host.Services.GetRequiredService <BootstrapProviderManager>();
            IBootstrapProvider provider  = (IBootstrapProvider)bootstrapProviderManager.GetProvider(name);

            return(CheckReturnBoundaryReference("bootstrap provider", provider));
        }
Esempio n. 2
0
        internal IBootstrapProvider GetBootstrapProvider(string name)
        {
            IBootstrapProvider provider = silo.BootstrapProviders.First(p => p.Name.Equals(name));

            return(CheckReturnBoundaryReference("bootstrap provider", provider));
        }