Exemple #1
0
        public static TwoSheetsWorkbook Setup()
        {
            var model = new TwoSheetsWorkbook();

            model.FirstSheet  = SimpleSheet.Setup();
            model.SecondSheet = SheetWithTwoComplexCollections.Setup();

            return(model);
        }
        public static SheetWithTwoComplexCollections Setup()
        {
            var obj = new SheetWithTwoComplexCollections();

            CollectionItem.Generate(15, obj.List1);
            obj.Array1 = CollectionItem.Generate(20).ToArray();

            return(obj);
        }