/// <summary>Initializes a new instance of the <see cref="Section"/> class.</summary> /// <param name="assessmentInstance">The assessment instance.</param> public Section(AssessmentInstance assessmentInstance) : base(assessmentInstance) { }
public static RuleEngineExecutor <AssessmentInstance> CreateRuleEngineExecutor(AssessmentInstance assessmentInstance) { var ruleCollection = (IRuleCollection <AssessmentInstance>)IoC.CurrentContainer.TryResolve(typeof(IAssessmentRuleCollection), assessmentInstance.AssessmentName) ?? new EmptyRuleCollection <AssessmentInstance> (); var ruleEngineExecutor = new RuleEngineExecutor <AssessmentInstance> (assessmentInstance, ruleCollection); return(ruleEngineExecutor); }
/// <summary>Initializes a new instance of the <see cref="Group"/> class.</summary> /// <param name="assessmentInstance">The assessment instance.</param> public Group(AssessmentInstance assessmentInstance) : base(assessmentInstance) { }