コード例 #1
0
 public CombinedArchRuleCreator(ICanBeEvaluated oldRule, LogicalConjunction logicalConjunction,
                                BasicObjectProvider <TRuleType> basicObjectProvider)
 {
     _oldRule                = oldRule;
     _logicalConjunction     = logicalConjunction;
     _currentArchRuleCreator = new ArchRuleCreator <TRuleType>(basicObjectProvider);
 }
コード例 #2
0
 public CombinedArchRule(ICanBeEvaluated firstRule, LogicalConjunction logicalConjunction,
                         ICanBeEvaluated secondRule)
 {
     _firstRule          = firstRule;
     _secondRule         = secondRule;
     _logicalConjunction = logicalConjunction;
 }
コード例 #3
0
 public CombinedArchRuleDefinition(ICanBeEvaluated oldRule, LogicalConjunction logicalConjunction)
 {
     _oldRule            = oldRule;
     _logicalConjunction = logicalConjunction;
 }
コード例 #4
0
 public void SetNextLogicalConjunction(LogicalConjunction logicalConjunction)
 {
     _conditionElements.Add(new ConditionElement <T>(logicalConjunction));
 }
コード例 #5
0
 public ConditionElementResult(ConditionResult conditionResult, LogicalConjunction logicalConjunction)
 {
     ConditionResult    = conditionResult;
     LogicalConjunction = logicalConjunction;
 }
コード例 #6
0
 public ConditionElement(LogicalConjunction logicalConjunction)
 {
     _condition          = null;
     _logicalConjunction = logicalConjunction;
     _reason             = "";
 }
コード例 #7
0
 public void AddConditionConjunction(LogicalConjunction logicalConjunction)
 {
     _conditionManager.SetNextLogicalConjunction(logicalConjunction);
 }
コード例 #8
0
 public void AddPredicateConjunction(LogicalConjunction logicalConjunction)
 {
     _predicateManager.SetNextLogicalConjunction(logicalConjunction);
 }
コード例 #9
0
 private bool Equals(LogicalConjunction other)
 {
     return(string.Equals(Description, other.Description));
 }
コード例 #10
0
 public void SetNextLogicalConjunction(LogicalConjunction logicalConjunction)
 {
     _predicateElements.Add(new PredicateElement <T>(logicalConjunction));
 }
コード例 #11
0
 public PredicateElement(LogicalConjunction logicalConjunction, IPredicate <T> predicate = null)
 {
     _predicate          = predicate;
     _logicalConjunction = logicalConjunction;
     _reason             = "";
 }
コード例 #12
0
 public void AddConditionConjunction(LogicalConjunction logicalConjunction)
 {
     _currentArchRuleCreator.AddConditionConjunction(logicalConjunction);
 }
コード例 #13
0
 public void AddPredicateConjunction(LogicalConjunction logicalConjunction)
 {
     _currentArchRuleCreator.AddPredicateConjunction(logicalConjunction);
 }