public static IHorizontalReportSchemaBuilder <TEntity> InsertRow <TEntity, TValue>( this IHorizontalReportSchemaBuilder <TEntity> builder, int index, string title, IValueProvider <TValue> valueProvider) { ValueProviderReportCellsProvider <TEntity, TValue> provider = new ValueProviderReportCellsProvider <TEntity, TValue>(title, valueProvider); return(builder.InsertRow(index, provider)); }
public static IHorizontalReportSchemaBuilder <TEntity> InsertRow <TEntity, TValue>( this IHorizontalReportSchemaBuilder <TEntity> builder, int index, string title, Func <TEntity, TValue> valueSelector) { ComputedValueReportCellsProvider <TEntity, TValue> provider = new ComputedValueReportCellsProvider <TEntity, TValue>(title, valueSelector); return(builder.InsertRow(index, provider)); }