public WCFOrderType ToWCFOrderType() { WCFOrderType result = new WCFOrderType(); result.Name = this.Name; result.TokenType = this.TokenType; result.IsSpecial = this.IsSpecial; result.Strength = this.Strength; result.Count = this.Count; result.DoType = this.DoType; return(result); }
static internal OrderType ToOrderType(this WCFOrderType o) { OrderType result = new OrderType(); result.Name = o.Name; result.TokenType = o.TokenType; result.IsSpecial = o.IsSpecial; result.Strength = o.Strength; result.Count = o.Count; result.DoType = o.DoType; return(result); }