public EliminationNode(EliminationDecider decider) { if (decider == null) { throw new ArgumentNullException("decider"); } this.decider = decider; }
private void SwapDeciders(EliminationDecider deciderA, EliminationDecider deciderB) { deciderA.PrimaryParent.Decider = deciderB; deciderB.PrimaryParent.Decider = deciderA; var swap = deciderA.PrimaryParent; deciderA.PrimaryParent = deciderB.PrimaryParent; deciderB.PrimaryParent = swap; // TODO: Swap Secondary Parents. }
public WinnerNode(EliminationDecider decider) : base(decider) { }
public LoserNode(EliminationDecider decider) : base(decider) { }