예제 #1
0
        public WCFSupport ToWCFSupport()
        {
            WCFSupport result = new WCFSupport();

            result.Step        = this.Step;
            result.SupportUser = this.SupportUser;
            result.BattleId    = this.BattleId;

            return(result);
        }
예제 #2
0
        static internal Support ToSupport(this WCFSupport o, Step step)
        {
            Support result = new Support();

            result.Step        = step.Id;
            result.Game        = step.Game;
            result.BattleId    = o.BattleId;
            result.SupportUser = o.SupportUser;

            result.Step1 = step;

            return(result);
        }