public static List <ViewSpec> MakeSpecListThree() { List <ViewSpec> specifications = new List <ViewSpec>(); ViewSpec specOne = SupportViewSpecFactory.MakeSpec("win", "length", new Type[] { typeof(int) }, new String[] { "1000" }); ViewSpec specTwo = SupportViewSpecFactory.MakeSpec("std", "unique", new Type[] { typeof(String) }, new String[] { "TheString" }); specifications.Add(specOne); specifications.Add(specTwo); return(specifications); }
public static IList <ViewSpec> MakeSpecListFour() { List <ViewSpec> specifications = new List <ViewSpec>(); ViewSpec specOne = SupportViewSpecFactory.MakeSpec("win", "length", new Type[] { typeof(int) }, new String[] { "1000" }); ViewSpec specTwo = SupportViewSpecFactory.MakeSpec("stat", "uni", new Type[] { typeof(String) }, new String[] { "IntPrimitive" }); ViewSpec specThree = SupportViewSpecFactory.MakeSpec("std", "size", null, null); specifications.Add(specOne); specifications.Add(specTwo); specifications.Add(specThree); return(specifications); }