Exemplo n.º 1
0
 public SequentialFlow(
     IGuidIdFactory <string> idFactory,
     Func <TContext> pathStart,
     Func <TDecision, TSelection, TContext, TContext> decisionSelector,
     Func <TContext, TResult> pathEnd)
 {
     this.idFactory        = idFactory;
     this.pathStart        = pathStart;
     this.decisionSelector = decisionSelector;
     this.pathEnd          = pathEnd;
 }
Exemplo n.º 2
0
 public QuestionWrapper(StringToGuidIdFactory idFactory, Question question)
 {
     this.idFactory = idFactory;
     this.question  = question;
 }
Exemplo n.º 3
0
 public AnswerWrapper(IGuidIdFactory <string> idFactory, Question question, Answer answer)
 {
     this.question        = question;
     this.answer          = answer;
     this.toGuidIdFactory = idFactory;
 }