Ejemplo n.º 1
0
		/// <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;
		}
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 3
0
 /// <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)
 {
 }
Ejemplo n.º 4
0
 /// <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)
 {
 }