Exemple #1
0
        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);
        }
Exemple #2
0
        public IHorizontalReportSchemaBuilder <TSourceEntity> InsertHeaderRow(int rowIndex, IReportCellsProvider <TSourceEntity> provider)
        {
            ConfiguredCellsProvider configuredCellsProvider = new ConfiguredCellsProvider(provider);

            this.headerProviders.Insert(rowIndex, configuredCellsProvider);

            this.SelectProvider(configuredCellsProvider);

            return(this);
        }
Exemple #3
0
        protected ReportSchemaBuilder <TSourceEntity> SelectProvider(string title)
        {
            this.currentProvider = this.CellsProviders[this.GetCellsProviderIndex(title)];

            return(this);
        }
Exemple #4
0
        protected ReportSchemaBuilder <TSourceEntity> SelectProvider(int index)
        {
            this.currentProvider = this.CellsProviders[index];

            return(this);
        }
Exemple #5
0
        protected ReportSchemaBuilder <TSourceEntity> SelectProvider(ConfiguredCellsProvider provider)
        {
            this.currentProvider = provider;

            return(this);
        }