Ejemplo n.º 1
0
        internal WCFVoting ToWCFVoting()
        {
            WCFVoting result = new WCFVoting();

            result.Step   = this.Step;
            result.Target = this.Target;
            if (this.Step1.GameUser1.Game1.LastHomeSteps.Where(p => p.StepType == "Борьба_за_влияние").All(p => p.IsFull))
            {
                result.PowerCount = this.PowerCount;
            }

            return(result);
        }
Ejemplo n.º 2
0
        static internal void CopyTo(this WCFVoting o, Step step)
        {
            Voting result = new Voting(step, o.Target);

            result.PowerCount = o.PowerCount;
        }