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

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