Ejemplo n.º 1
0
 public Proponent FindProponent(Predicate <Proponent> match)
 {
     return(Proponents.Find(match));
 }
Ejemplo n.º 2
0
        public Proposal RemoveProponentBy(Guid id)
        {
            Proponents.RemoveAll(proponent => proponent.Id == id);

            return(this);
        }
Ejemplo n.º 3
0
 public Proponent MainProponent()
 {
     return(Proponents.FirstOrDefault(x => x.IsMain));
 }
Ejemplo n.º 4
0
        public Proposal Add(Proponent proponent)
        {
            Proponents.Add(proponent);

            return(this);
        }
Ejemplo n.º 5
0
 void OnProponentDeafeated(Proponent proponent)
 {
     Finish.Process(Proponents.GetOther(proponent));
 }