public IGambitRule <TKnowledgeBase> CreateRule <TKnowledgeBase>( string name, IGambitRuleCondition <TKnowledgeBase> condition, IGambitRuleAction <TKnowledgeBase> action) { return(new GambitRule <TKnowledgeBase>(name, condition, action)); }
public GambitRule( string name, IGambitRuleCondition <TKnowledgeBase> condition, IGambitRuleAction <TKnowledgeBase> action) { this.Name = name; this.condition = condition; this.action = action; }
public IGambitRule <TKnowledgeBase> CreateRule(string name, IGambitRuleCondition <TKnowledgeBase> condition, IGambitRuleAction <TKnowledgeBase> action) { return(ruleGenerator.CreateRule(name, condition, action)); }