コード例 #1
0
ファイル: Section.cs プロジェクト: obhita/PROCenter
 /// <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)
 {
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 /// <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)
 {
 }