internal protected AlternateBranch(string recordType, Guid id, string name, int evaluationOrder, IRecordPointer <Guid> parentStepPointer, IRecordPointer <Guid> subsequentStepPointer,
                                    ILogicEvaluator logicEvaluator) : base(recordType, id)
 {
     try
     {
         Name                  = name ?? throw new ArgumentNullException("name");
         EvaluationOrder       = evaluationOrder;
         ParentStepPointer     = parentStepPointer ?? throw new ArgumentNullException("parentStepPointer");
         SubsequentStepPointer = subsequentStepPointer;
         LogicEvaluator        = logicEvaluator ?? throw new ArgumentNullException("logicEvaluator");
     }
     catch (Exception)
     {
         throw;
     }
 }
 protected internal EvidenceRequirement(string recordType, Guid id, string name, eRequirementTypeFlags typeFlag, IRecordPointer <Guid> transactionTypeId, ILogicEvaluator evaluator, IEnumerable <IRecordPointer <Guid> > authorizedWaiverRoles)
     : base(recordType, id, name, typeFlag, transactionTypeId, evaluator, authorizedWaiverRoles)
 {
 }
示例#3
0
 protected internal Requirement(string recordType, Guid id, string name, eRequirementTypeFlags?typeFlag, IRecordPointer <Guid> transactionTypeId, ILogicEvaluator evaluator, IEnumerable <IRecordPointer <Guid> > authorizedWaiverRoles)
     : base(recordType, id)
 {
     this.Name                  = name;
     this.TypeFlag              = typeFlag ?? throw new ArgumentNullException("typeFlag is null.");
     this.TransactionTypeId     = transactionTypeId ?? throw new ArgumentNullException("transactionTypeId is null.");
     this.Evaluator             = evaluator ?? throw new ArgumentNullException("evaluator is null.");
     this.AuthorizedWaiverRoles = authorizedWaiverRoles?.ToList() ?? throw new ArgumentNullException("authorizedWaiverRoles is null.");
 }