Пример #1
0
 protected void Notify(OperatorBase op, string message)
 {
     try
     {
         var warning = this.Warning;
         if (warning != null)
         {
             warning(op, message);
         }
     }
     catch
     {
     }
 }
Пример #2
0
 protected void Notify(OperatorBase op, string message)
 {
     try
     {
         var warning = this.Warning;
         if (warning != null)
         {
             warning(op, message);
         }
     }
     catch
     {
     }
 }
 public void OnWarn(OperatorBase op, string message)
 {
     _actualMessages.Add(message);
 }
Пример #4
0
        /**
		 * Constructor
		 * @param operator The operator that will be executed when the expression is evaluated.
		 * @param operands The parameters that will be used by the operator when the expression is evaluated.
		 */
        public OperationPolicyExpression(OperatorBase pOperator, IEnumerable<IPolicyExpression> operands)
		{
			this.Operator = pOperator;
            this.Operands = new List<IPolicyExpression>(operands);
		}