コード例 #1
0
ファイル: JsonSchemaParser.cs プロジェクト: amacal/jinx
        public JsonSchemaRule Parse(JsonObject definition)
        {
            JsonSchemaRuleComponent component = new JsonSchemaRuleComponent();

            foreach (JsonSchemaRuleFactory factory in factories)
                factory.Append(component, definition, Parse);

            return component;
        }
コード例 #2
0
ファイル: JsonSchemaRuleFactory.cs プロジェクト: amacal/jinx
 public abstract void Append(JsonSchemaRuleComponent rules, JsonObject definition, Func<JsonObject, JsonSchemaRule> parse);