Exemplo n.º 1
0
 protected void Notify(OperatorBase op, string message)
 {
     try
     {
         var warning = this.Warning;
         if (warning != null)
         {
             warning(op, message);
         }
     }
     catch
     {
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
		}