Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DecisionWorkflow"/> class.
 /// </summary>
 public DecisionWorkflow(IMathManager mathManager)
 {
     this.DecisionExecutionComponents = new List <IDecisionExecutionComponent>
     {
         new DecisionCountComponent(mathManager),
         new DecisionResultWorkflowComponent()
     };
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MathController"/> class.
 /// </summary>
 /// <param name="mathManager">The math manager to use.</param>
 public MathController(
     IMathManager mathManager)
 {
     this.mathManager = mathManager ?? throw new ArgumentNullException(nameof(mathManager));
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DecisionCountComponent"/> class.
 /// </summary>
 /// <param name="mathManager">The math manager.</param>
 public DecisionCountComponent(IMathManager mathManager)
 {
     this.MathManager = mathManager;
 }