Beispiel #1
0
 public int CompareTo(ByteTag other)
 {
     if (other == null)
     {
         return(-1);
     }
     return(this.Value.CompareTo(other.Value));
 }
Beispiel #2
0
        public bool Equals(ByteTag other)
        {
            if (ReferenceEquals(other, this))
            {
                return(true);
            }
            if (ReferenceEquals(other, null))
            {
                return(false);
            }

            return(this.Value == other.Value);
        }
Beispiel #3
0
        public override bool Equals(Tag other)
        {
            ByteTag tag = other as ByteTag;

            return((tag != null) && this.Equals(tag));
        }