예제 #1
0
        public void PrivateProperty()
        {
            var source2 = new PrivateProperty {
                FirstName = "John", LastName = "Smith"
            };

            source2.SetItem("shoes");
            SerializerConsistencyHepers.Test(source2);
        }
예제 #2
0
        public Task PrivateProperty()
        {
            var source2 = new PrivateProperty {
                FirstName = "John", LastName = "Smith"
            };

            source2.SetItem("shoes");
            return(SerializerConsistencyHepers.TestAsync(source2));
        }
 public void PrivateProperty()
 {
     var source2 = new PrivateProperty { FirstName = "John", LastName = "Smith" };
     source2.SetItem("shoes");
     SerializerConsistencyHepers.Test(source2);
 }