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

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

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