/// <summary> /// Instantiates a new Formula predicate. /// </summary> /// <param name="resolutionType">The type of resolution for the formula.</param> /// <param name="bob">The business object binder to use when evaluating the formula, or null.</param> /// <param name="expression">The expression value, i.e. the C# code source that should be computable.</param> /// <param name="evaluator">A precompiled evaluator, or null.</param> private Formula(FormulaResolutionType resolutionType, IBinder bob, string expression, IDictionaryEvaluator evaluator):base(expression) { this.resolutionType = resolutionType; this.bob = bob; this.expression = expression; this.evaluator = evaluator; this.functionSignature = null; }
/// <summary> /// Instantiates a new Formula predicate. /// </summary> /// <param name="resolutionType">The type of resolution for the formula.</param> /// <param name="bob">The business object binder to use when evaluating the formula, or null.</param> /// <param name="expression">The expression value, i.e. the C# code source that should be computable.</param> /// <param name="evaluator">A precompiled evaluator, or null.</param> private Formula(FormulaResolutionType resolutionType, IBinder bob, string expression, IDictionaryEvaluator evaluator) : base(expression) { this.resolutionType = resolutionType; this.bob = bob; this.expression = expression; this.evaluator = evaluator; this.formulaSignature = null; }
/// <summary> /// Instantiates a new Formula predicate. /// </summary> /// <param name="resolutionType">The type of resolution for the formula.</param> /// <param name="bob">The business object binder to use when evaluating the formula, or null.</param> /// <param name="expression">The expression value, i.e. the C# code source that should be computable.</param> public Formula(FormulaResolutionType resolutionType, IBinder bob, string expression) : this(resolutionType, bob, expression, null) { }
/// <summary> /// Instantiates a new Formula predicate. /// </summary> /// <param name="resolutionType">The type of resolution for the formula.</param> /// <param name="bob">The business object binder to use when evaluating the formula, or null.</param> /// <param name="expression">The expression value, i.e. the C# code source that should be computable.</param> public Formula(FormulaResolutionType resolutionType, IBinder bob, string expression) : this(resolutionType, bob, expression, null) { }