Exemplo n.º 1
0
 public override bool Test(IParameters parameters)
 {
     Contract.Argument("Lhs must be null for unary operator", "Lhs", Lhs == null);
     return(Rhs.HasValue(parameters) &&
            ((Rhs.GetValue(parameters) as bool?) == false));
 }
Exemplo n.º 2
0
 public override bool Test(IParameters parameters)
 {
     return((Lhs.HasValue(parameters) || Rhs.HasValue(parameters)) &&
            (((Lhs.GetValue(parameters) as bool?) == true) || ((Rhs.GetValue(parameters) as bool?) == true)));
 }
Exemplo n.º 3
0
 public override bool Test(IParameters parameters)
 {
     return(Lhs.HasValue(parameters) &&
            Rhs.HasValue(parameters) &&
            !object.Equals(Lhs.GetValue(parameters), Rhs.GetValue(parameters)));
 }