/// <summary>Initializes a new instance of the <see cref="WebHookFilter"/> class.</summary> public WebHookFilter(IWebHookFilter filter) { if (filter == null) { throw new ArgumentNullException(nameof(filter)); } Id = filter.Id; Trigger = filter.Trigger; }
/// <summary>Initializes a new instance of the <see cref="WebHookFilter"/> class.</summary> public WebHookFilter(IWebHookFilter filter) { if (filter == null) { throw new ArgumentNullException(nameof(filter)); } Id = filter.Id; Trigger = filter.Trigger; Parameters = filter.Parameters.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); }