Exemple #1
0
        public void TestStructWriteEvents()
        {
            var o = new StructEvents();
            o.IntField = 23;

            var json = Json.Format(o);
            Assert.Contains(json, "OnJsonWriting");
            Assert.Contains(json, "OnJsonWritten");
        }
        public void TestStructWriteEvents()
        {
            var o = new StructEvents();

            o.IntField = 23;

            var json = Json.Format(o);

            Assert.Contains("OnJsonWriting", json);
            Assert.Contains("OnJsonWritten", json);
        }