public bool IsValid(object parameter, Condition condition) { IConditionEvaluator evaluator = (IConditionEvaluator)addIn.CreateObject(className); if (evaluator == null) { return(false); } addIn.AddInTree.ConditionEvaluators[name] = evaluator; return(evaluator.IsValid(parameter, condition)); }
public object BuildItem(object caller, Codon codon, ArrayList subItems) { IDoozer doozer = (IDoozer)addIn.CreateObject(className); if (doozer == null) { return(null); } AddInTree.Doozers[name] = doozer; return(doozer.BuildItem(caller, codon, subItems)); }
public object BuildItem(BuildItemArgs args) { IDoozer doozer = (IDoozer)addIn.CreateObject(className); if (doozer == null) { return(null); } AddInTree.Doozers[name] = doozer; return(doozer.BuildItem(args)); }