コード例 #1
0
ファイル: RCS.cs プロジェクト: IronFox/Shard
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }
            var other = obj as RCS;

            if (other == null)
            {
                return(false);
            }
            if (!IC.Equals(other.IC))
            {
                return(false);
            }
            return(CS.Equals(other.CS));
        }
コード例 #2
0
ファイル: SDS.cs プロジェクト: IronFox/Shard
 public bool ICMessagesAndEntitiesAreEqual(SDS other)
 {
     return(IC.Equals(other.IC) &&
            Helper.AreEqual(FinalEntities, other.FinalEntities)
            );
 }