コード例 #1
0
        public BasicJsonRuleResult(string selector, JToken token, JsonConstraintResult result)
        {
            Token = token;
            Path = token?.Path;
            Selector = selector;

            this.result = result.Optimize();
        }
コード例 #2
0
 public NotJsonConstraintResult(JsonConstraintResult result)
     : base(!result.Value)
 {
     Result = result;
 }
コード例 #3
0
 public NotJsonConstraintResult(JsonConstraintResult result)
     : base(!result.Value)
 {
     Result = result;
 }