コード例 #1
0
 public WebhookNotificationEventArgs(IdentifierSet identifierSet, string operation)
 {
     if (identifierSet != null && !string.IsNullOrEmpty(operation))
     {
         IdentifierSet = identifierSet;
         Operation     = operation;
     }
 }
コード例 #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));
        }