Example #1
0
 public MyWorkerService(
     IPersitenceServiceConfigDependent persitenceServiceConfigDependent,
     IConnectionStrings connectionStrings,
     IAzureServiceConfiguration azureServiceConfiguration,
     IMicrosoftStorageConfig microsoftStorageConfig,
     IAppConfigSettings appConfigSettings)
 {
     _connectionStrings                = connectionStrings;
     _azureServiceConfiguration        = azureServiceConfiguration;
     _microsoftStorageConfig           = microsoftStorageConfig;
     _persitenceServiceConfigDependent = persitenceServiceConfigDependent;
     _appConfigSettings                = appConfigSettings;
 }
        public MyWorkerService(
            IPersitenceServiceConfigDependent persitenceServiceConfigDependent,

            IConnectionStrings connectionStrings,
            IAzureServiceConfiguration azureServiceConfiguration,
            IMicrosoftStorageConfig microsoftStorageConfig,
            IAppConfigSettings appConfigSettings)
        {
            _connectionStrings = connectionStrings;
            _azureServiceConfiguration = azureServiceConfiguration;
            _microsoftStorageConfig = microsoftStorageConfig;
            _persitenceServiceConfigDependent = persitenceServiceConfigDependent;
            _appConfigSettings = appConfigSettings;
        }