public void MoreEmpty() { var e2 = new Empty2(); var ne2 = new NonEmpty2(); JsonSerializer.ToJsonString(e2).Is("{}"); JsonSerializer.ToJsonString(ne2).Is(@"{""MyProperty"":0}"); }
public void MoreEmpty() { var e1 = new Empty1(); var e2 = new Empty2(); var ne1 = new NonEmpty1(); var ne2 = new NonEmpty2(); MessagePackSerializer.ToJson(e1).Is("[]"); MessagePackSerializer.ToJson(e2).Is("{}"); MessagePackSerializer.ToJson(ne1).Is("[0]"); MessagePackSerializer.ToJson(ne2).Is(@"{""MyProperty"":0}"); }
public ChunkFilePattern(Empty2 empty2) : this() { }
public ChunkFolderPattern(Empty2 empty2) : this() { }