示例#1
0
 public bool Equals(ChatMessage other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(Author, other.Author) && TimeCreated.Equals(other.TimeCreated) && TimeEdited.Equals(other.TimeEdited));
 }