예제 #1
0
 internal override bool Enforce(JsonObject json, JsonObject parent)
 {
     if (Guard.EvaluateB(json, parent))
     {
         return(Act.ExecuteB(json, parent));
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 internal override bool EvaluateB(JsonValue json, JsonValue parent)
 => !Inner.EvaluateB(json, parent);
예제 #3
0
 internal override bool EvaluateB(JsonValue json, JsonValue parent)
 => X.EvaluateB(json, parent) &&
 Y.EvaluateB(json, parent);