protected ReportSchemaBuilder <TSourceEntity> InsertCellsProvider(int index, IReportCellsProvider <TSourceEntity> provider) { this.currentProvider = new ConfiguredCellsProvider(provider); this.CellsProviders.Insert(index, this.currentProvider); this.NamedProviders[this.currentProvider.Provider.Title] = this.currentProvider; return(this); }
public IHorizontalReportSchemaBuilder <TSourceEntity> InsertHeaderRow(int rowIndex, IReportCellsProvider <TSourceEntity> provider) { ConfiguredCellsProvider configuredCellsProvider = new ConfiguredCellsProvider(provider); this.headerProviders.Insert(rowIndex, configuredCellsProvider); this.SelectProvider(configuredCellsProvider); return(this); }
protected ReportSchemaBuilder <TSourceEntity> SelectProvider(string title) { this.currentProvider = this.CellsProviders[this.GetCellsProviderIndex(title)]; return(this); }
protected ReportSchemaBuilder <TSourceEntity> SelectProvider(int index) { this.currentProvider = this.CellsProviders[index]; return(this); }
protected ReportSchemaBuilder <TSourceEntity> SelectProvider(ConfiguredCellsProvider provider) { this.currentProvider = provider; return(this); }