Exemplo n.º 1
0
 public SheetColumn(SheetColumnJsonable jsonable)
 {
     serializationName = jsonable.serializationName;
     propertyName      = jsonable.propertyName;
     dataType          = jsonable.dataType;
     isCollection      = jsonable.isCollection;
     referenceSheet    = jsonable.referenceSheet;
 }
Exemplo n.º 2
0
        public SheetPageJsonable(SheetPage sheetPage)
        {
            index     = sheetPage.index;
            sheetName = sheetPage.sheetName;

            rows = new SheetRowJsonable[sheetPage.rows.Count];
            for (int i = 0; i < rows.Length; i++)
            {
                rows[i] = new SheetRowJsonable(sheetPage, sheetPage.rows[i]);
            }

            columns = new SheetColumnJsonable[sheetPage.columns.Count];
            for (int i = 0; i < columns.Length; i++)
            {
                columns[i] = new SheetColumnJsonable(sheetPage.columns[i]);
            }
        }