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); }
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); }