Beispiel #1
0
        protected override void Run()
        {
            var schema = CreateSchema();
            var writer = new JsonSchemaWriter();

            Console.WriteLine(writer.Write(schema));
        }
Beispiel #2
0
        protected override Task Run()
        {
            var schema = CreateSchema();
            var writer = new JsonSchemaWriter();

            Console.WriteLine(writer.Write(schema));

            return(Task.CompletedTask);
        }
Beispiel #3
0
 public void AsymmetricRepresentations(string @out, string @in)
 {
     Assert.Equal(@out, writer.Write(reader.Read(@out)));
     Assert.Equal(@out, writer.Write(reader.Read(@in)));
 }