public DataServiceBase(IDataServiceConfig config, IHystrixCommandFactory hystrixCommandFactory, ILogger <IDataService <T> > logger) { _config = config ?? throw new ArgumentNullException(nameof(config)); _hystrixCommandFactory = hystrixCommandFactory ?? throw new ArgumentNullException(nameof(hystrixCommandFactory)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public StoryService(Dictionary <string, IDataService <object> > dataServices, IDataServiceConfig config, HystrixCommandFactory hystrixCommandFactory, ILogger <IDataService <Story> > logger) : base(dataServices, config, hystrixCommandFactory, logger) { if (!dataServices.ContainsKey("StoryDataService")) { throw new ArgumentNullException("AuthenticatedIdentity", "AuthenticatedIdentity required in parameters"); } }
public Container(Dictionary <string, IDataService <object> > dataServices, IDataServiceConfig config, HystrixCommandFactory hystrixCommandFactory, ILogger <IDataService <T> > logger) : base(config, hystrixCommandFactory, logger) { _dataServices = dataServices ?? throw new ArgumentNullException(nameof(dataServices)); }
public ProviderServiceBase(IDataServiceConfig config, HystrixCommandFactory hystrixCommandFactory, ILogger <IDataService <T> > logger) : base(config, hystrixCommandFactory, logger) { }