Example #1
0
        public override bool Equals(object obj)
        {
            bool result = false;

            if (obj is HeroVarId)
            {
                HeroVarId id = obj as HeroVarId;
                result = this.Value.Equals(id.Value);
            }

            return(result);
        }
Example #2
0
        public int CompareTo(object obj)
        {
            int result = 1;

            if (obj is HeroVarId)
            {
                HeroVarId id = obj as HeroVarId;
                result = this.Value.CompareTo(id.Value);
            }

            return(result);
        }