public StoreRuntimeParameterAccesor(
     ILogger <XabarilModule> logger,
     IFeaturesStore featuresStore)
 {
     _logger        = logger ?? throw new ArgumentNullException(nameof(logger));
     _featuresStore = featuresStore ?? throw new ArgumentNullException(nameof(featuresStore));
 }
Пример #2
0
 public FeaturesService(
     IOptions <XabarilOptions> options,
     ILogger <XabarilModule> logger,
     IFeaturesStore featuresStore,
     SingleInstanceFactory singleInstanceFactory)
 {
     _featuresStore         = featuresStore ?? throw new ArgumentNullException(nameof(featuresStore));
     _singleInstanceFactory = singleInstanceFactory ?? throw new ArgumentNullException(nameof(singleInstanceFactory));
     _logger         = logger ?? throw new ArgumentNullException(nameof(logger));
     _xabarilOptions = options?.Value ?? new XabarilOptions();
 }