public HandClassifierChain() { _root = new StraightFlushClassifier(); _root.RegisterNext(new FullHouseClassifier()) .RegisterNext(new PairClassifier()) .RegisterNext(new HighCardClassifier()); }
public HandClassifier RegisterNext(HandClassifier next) { Next = next; return(Next); }