static internal Garrison ToGarrison(this WCFGarrison o) { Garrison result = new Garrison(); result.Id = o.Id; result.TokenType = o.TokenType; result.Terrain = o.Terrain; result.Strength = o.Strength; return(result); }
public WCFGarrison ToWCFGarrison() { WCFGarrison result = new WCFGarrison(); result.Id = this.Id; result.Step = this.Step; result.TokenType = this.TokenType; result.Terrain = this.Terrain; result.Strength = this.Strength; return(result); }