Пример #1
0
        public WCFTokenPoint ToWCFTokenPoint()
        {
            WCFTokenPoint result = new WCFTokenPoint();

            result.Id        = this.Id;
            result.Terrain   = this.Terrain;
            result.GamePoint = this.GamePoint;
            result.TokenType = this.TokenType;

            return(result);
        }
Пример #2
0
        static internal TokenPoint ToTokenPoint(this WCFTokenPoint o)
        {
            TokenPoint result = new TokenPoint();

            result.Id        = o.Id;
            result.Terrain   = o.Terrain;
            result.GamePoint = o.GamePoint;
            result.TokenType = o.TokenType;

            return(result);
        }