Example #1
0
        public bool Equals(CommandResult other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(Equals(ReferenceId, other.ReferenceId) && CommandId.Equals(other.CommandId));
        }
Example #2
0
 public bool Equals(TCommand other)
 {
     return(CommandId.Equals(other.CommandId));
 }
Example #3
0
 protected bool Equals(TCommand other)
 {
     return(CommandId.Equals(other.CommandId));
 }