Esempio n. 1
0
        public OpenMessageAzureProviderOptionsConfigurator(IOptions <OpenMessageAzureProviderOptions> defaultOptions)
        {
            if (defaultOptions == null)
            {
                throw new ArgumentNullException(nameof(defaultOptions));
            }

            _defaultOptions = defaultOptions.Value;
        }
Esempio n. 2
0
 public void Configure(OpenMessageAzureProviderOptions <T> options)
 {
     options.ConnectionString = _defaultOptions.ConnectionString;
 }