public GridHtmlBuilderFactory(IGridFunctionalSectionBuilder functionalSectionBuilder, IGridDataSectionBuilder dataSectionBuilder, 
     IGridTableBulderFactory tableBuilderFactory)
 {
     this.tableBuilderFactory = tableBuilderFactory;
     this.functionalSectionBuilder = functionalSectionBuilder;
     this.dataSectionBuilder = dataSectionBuilder;
 }
예제 #2
0
 public GridHtmlBuilderFactory(IGridFunctionalSectionBuilder functionalSectionBuilder, IGridDataSectionBuilder dataSectionBuilder,
                               IGridTableBulderFactory tableBuilderFactory)
 {
     this.tableBuilderFactory      = tableBuilderFactory;
     this.functionalSectionBuilder = functionalSectionBuilder;
     this.dataSectionBuilder       = dataSectionBuilder;
 }
예제 #3
0
        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 },
            };
        }
예제 #4
0
        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 },
            };
        }
예제 #5
0
 public GridScrollingHtmlBuilder(IGridFunctionalSectionBuilder functionalSectionBuilder, IGridDataSectionBuilder dataSectionBuilder, 
     IGridTableBulderFactory tableBuilderFactory)
     : base(functionalSectionBuilder, dataSectionBuilder, tableBuilderFactory)
 {
 }
예제 #6
0
 public GridScrollingHtmlBuilder(IGridFunctionalSectionBuilder functionalSectionBuilder, IGridDataSectionBuilder dataSectionBuilder,
                                 IGridTableBulderFactory tableBuilderFactory) : base(functionalSectionBuilder, dataSectionBuilder, tableBuilderFactory)
 {
 }