示例#1
0
 public bool Equals(LiteralCommandNode <TSource> other)
 {
     if (other is null)
     {
         return(false);
     }
     return(ReferenceEquals(this, other) || EqualsInternal(other));
 }
示例#2
0
 public bool Equals(LiteralCommandNode <TSource> other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(string.Equals(Literal, other.Literal));
 }
示例#3
0
 private bool EqualsInternal(LiteralCommandNode <TSource> other)
 {
     return(Equals(Literal, other.Literal));
 }