Esempio n. 1
0
        public WCFUnitType ToWCFUnitType()
        {
            WCFUnitType result = new WCFUnitType();

            result.Name      = this.Name;
            result.TokenType = this.TokenType;
            result.Strength  = this.Strength;
            result.Cost      = this.Cost;
            result.Count     = this.Count;

            return(result);
        }
Esempio n. 2
0
        static internal UnitType ToUnitType(this WCFUnitType o)
        {
            UnitType result = new UnitType();

            result.Name      = o.Name;
            result.TokenType = o.TokenType;
            result.Strength  = o.Strength;
            result.Cost      = o.Cost;
            result.Count     = o.Count;

            return(result);
        }