Example #1
0
        public static bool Equals(Behavior obj1, Behavior obj2)
        {
            if (Object.Equals(null, obj1) ||
                Object.Equals(null, obj2) ||
                obj1.GetType() != obj2.GetType())
                return false;

            if (Object.ReferenceEquals(obj1, obj2)) return true;

            // Compare your object properties
            // return obj1.Id == obj2.Id;

            throw new NotImplementedException();
        }
Example #2
0
 public bool Equals(Behavior other)
 {
     return Behavior.Equals(this, other);
 }