コード例 #1
0
        bool ComparePhysicalGame(PhysicalGameModel other)
        {
            bool ret = false;

            if (this == other)
            {
                ret = true;
            }
            return(ret);
        }
コード例 #2
0
        bool ComparePhysicalGame(PhysicalGameModel other)
        {
            bool ret = true;

            foreach (var i in typeof(GameModel).GetProperties())
            {
                if (i.GetValue(this) != i.GetValue(other))
                {
                    ret = false;
                }
            }
            return(ret);
        }