Esempio n. 1
0
 public LegalBoardParameters(
     MemberParameterCollection chair,
     List <MemberParameterCollection> technicals,
     List <MemberParameterCollection> legals)
     : base(chair, technicals, legals)
 {
 }
Esempio n. 2
0
        internal Member(MemberParameterCollection parameters)
        {
            ID = __instanceCounter;
            __instanceCounter++;

            _parameters = new Dictionary <WorkerRole, MemberParameters>
            {
                [WorkerRole.Chair]       = parameters.ChairWorkParameters,
                [WorkerRole.Rapporteur]  = parameters.RapporteurWorkParameters,
                [WorkerRole.OtherMember] = parameters.OtherWorkParameters
            };
        }
Esempio n. 3
0
        protected BoardParameters(
            MemberParameterCollection chair,
            List <MemberParameterCollection> technicals,
            List <MemberParameterCollection> legals)
        {
            Chair = chair;

            Technicals = new List <Tuple <MemberParameterCollection, int> >();
            Legals     = new List <Tuple <MemberParameterCollection, int> >();

            foreach (var t in technicals)
            {
                Technicals.Add(new Tuple <MemberParameterCollection, int>(t, t.ChairWorkPercentage));
            }

            foreach (var l in legals)
            {
                Legals.Add(new Tuple <MemberParameterCollection, int>(l, l.ChairWorkPercentage));
            }
        }