コード例 #1
0
ファイル: RoomForUpdate.cs プロジェクト: JustinSGough/General
 public bool Equals(RoomForUpdate other)
 {
     if (other == null)
     {
         return(false);
     }
     return(this == other);
 }
コード例 #2
0
ファイル: RoomForUpdate.cs プロジェクト: JustinSGough/General
        public override bool Equals(object obj)
        {
            RoomForUpdate other = obj as RoomForUpdate;

            if (other == null)
            {
                return(false);
            }
            return(this == other);
        }