コード例 #1
0
        public void NormalClass()
        {
            var source = new NormalClass {
                FirstName = "John", LastName = "Smith", Item = "Socks"
            };

            SerializerConsistencyHepers.Test(source);
        }
コード例 #2
0
        public void NullEmptyWhitespaceString()
        {
            NormalClass source = new NormalClass {
                FirstName = string.Empty, LastName = null, Item = "   "
            };

            SerializerConsistencyHepers.Test(source);
        }
コード例 #3
0
        public Task NullEmptyWhitespaceString()
        {
            NormalClass source = new NormalClass {
                FirstName = string.Empty, LastName = null, Item = "   "
            };

            return(SerializerConsistencyHepers.TestAsync(source));
        }
コード例 #4
0
        public Task NormalClass()
        {
            var source = new NormalClass {
                FirstName = "John", LastName = "Smith", Item = "Socks"
            };

            return(SerializerConsistencyHepers.TestAsync(source));
        }
コード例 #5
0
        public void NullEmptyWhitespaceString()
        {
            NormalClass source = new NormalClass { FirstName = string.Empty, LastName = null, Item = "   " };

            SerializerConsistencyHepers.Test(source);
        }
コード例 #6
0
 public void NormalClass()
 {
     var source = new NormalClass { FirstName = "John", LastName = "Smith", Item = "Socks" };
     SerializerConsistencyHepers.Test(source);
 }