Exemplo n.º 1
0
 public WebhookNotificationEventArgs(IdentifierSet identifierSet, string operation)
 {
     if (identifierSet != null && !string.IsNullOrEmpty(operation))
     {
         IdentifierSet = identifierSet;
         Operation     = operation;
     }
 }
Exemplo n.º 2
0
        public bool Equals(WebhookNotificationEventArgs other)
        {
            if (other != null && ReferenceEquals(this, other))
            {
                return(true);
            }

            return(Operation.Equals(other.Operation, StringComparison.Ordinal) && IdentifierSet.Equals(other.IdentifierSet));
        }