public GridHtmlBuilderFactory(IGridFunctionalSectionBuilder functionalSectionBuilder, IGridDataSectionBuilder dataSectionBuilder, IGridTableBulderFactory tableBuilderFactory) { this.tableBuilderFactory = tableBuilderFactory; this.functionalSectionBuilder = functionalSectionBuilder; this.dataSectionBuilder = dataSectionBuilder; }
public GridRowBuilderFactory(IGridTableBulderFactory tableBuilderFactory, IGridCellBuilderFactory cellBuilderFactory, IGridRowBuilderDecoratorProvider decoratorProvider) { this.tableBuilderFactory = tableBuilderFactory; this.cellBuilderFactory = cellBuilderFactory; this.decoratorProvider = decoratorProvider; BuilderRegistry = new Dictionary <GridItemType, Func <GridRenderingData, GridItem, IGridRowBuilder> > { { GridItemType.DataRow, CreateDataRowBuilder }, { GridItemType.GroupRow, CreateGroupRowBuilder }, { GridItemType.EditRow, CreateEditRowBuilder }, { GridItemType.InsertRow, CreateInsertRowBuilder }, { GridItemType.DetailRow, CreateDetailRowBuilder }, { GridItemType.EmptyRow, CreateEmptyRowBuilder }, { GridItemType.GroupFooterRow, CreateGroupFooterRowBuilder }, }; }
public GridRowBuilderFactory(IGridTableBulderFactory tableBuilderFactory, IGridCellBuilderFactory cellBuilderFactory, IGridRowBuilderDecoratorProvider decoratorProvider) { this.tableBuilderFactory = tableBuilderFactory; this.cellBuilderFactory = cellBuilderFactory; this.decoratorProvider = decoratorProvider; BuilderRegistry = new Dictionary<GridItemType, Func<GridRenderingData, GridItem, IGridRowBuilder>>{ { GridItemType.DataRow, CreateDataRowBuilder }, { GridItemType.GroupRow, CreateGroupRowBuilder }, { GridItemType.EditRow, CreateEditRowBuilder }, { GridItemType.InsertRow, CreateInsertRowBuilder }, { GridItemType.DetailRow, CreateDetailRowBuilder }, { GridItemType.EmptyRow, CreateEmptyRowBuilder }, { GridItemType.GroupFooterRow, CreateGroupFooterRowBuilder }, }; }
public GridScrollingHtmlBuilder(IGridFunctionalSectionBuilder functionalSectionBuilder, IGridDataSectionBuilder dataSectionBuilder, IGridTableBulderFactory tableBuilderFactory) : base(functionalSectionBuilder, dataSectionBuilder, tableBuilderFactory) { }