Esempio n. 1
0
        public PluggableBuilder([NotNull] IServiceCollection services)
        {
            Requires.NotNull(services, nameof(services));

            Services = services;
            Options  = new PluggableOptions();
        }
Esempio n. 2
0
 public PluggableRegistry(IPluggableServiceProvider pluggableServiceProvider, IOptions <PluggableOptions> options)
 {
     _pluggableServiceProvider = pluggableServiceProvider;
     _options = options.Value;
 }
 public PluggableServiceProvider(IServiceProvider serviceProvider, IOptions <PluggableOptions> options)
 {
     _serviceProvider = serviceProvider;
     _options         = options.Value;
 }