Microsoft.AspNet.WebHooks.WebHookReceiverConfig.WebHookReceiverConfig C# (CSharp) Méthode

WebHookReceiverConfig() public méthode

Initializes a new instance of the WebHookReceiverConfig which will use the application settings set in the given settings.
public WebHookReceiverConfig ( SettingsDictionary settings, ILogger logger ) : System
settings SettingsDictionary The to use for reading configuration.
logger ILogger The to use.
Résultat System
        public WebHookReceiverConfig(SettingsDictionary settings, ILogger logger)
        {
            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }
            if (logger == null)
            {
                throw new ArgumentNullException(nameof(logger));
            }

            _config = ReadSettings(settings, logger);
        }