Ejemplo n.º 1
0
        public void ScalarCollectionJson()
        {
            ScalarCollection sc = new ScalarCollection();

            sc.AddInt(2);
            sc.AddInt(3);
            sc.AddInt(4);
            sc.AddInt(5);
            sc.AddInt(6);
            sc.AddInt(7);

            SimplTypesScope scalarCollectionSimplTypesScope = SimplTypesScope.Get(
                "scalarCollectionTScope", typeof(ScalarCollection));

            TestMethods.TestSimplObject(sc, scalarCollectionSimplTypesScope, Format.Json);
        }