public MasterTableDataAdapter( LazyLoadedTableDataAdapter <TItem> mainTableDataAdapter, IGridConfigurationProvider gridConfigurationProvider, ITableDataAdapterProvider tableDataAdapterProvider) : this(gridConfigurationProvider, tableDataAdapterProvider, mainTableDataAdapter) { }
public GridRendererContextFactory( IGridConfigurationProvider gridConfigurationProvider, IPropertyValueAccessorCache propertyValueAccessorCache) { this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); this.propertyValueAccessorCache = propertyValueAccessorCache ?? throw new ArgumentNullException(nameof(propertyValueAccessorCache)); this.imutableRendererContextCache = new Dictionary <Type, ImutableGridRendererContext>(); }
public RunTimeTableDataAdapterProvider( IGridConfigurationProvider gridConfigurationProvider, ITypePropertyAccessorCache propertyValueAccessorCache, IDetailDataAdapterVisitors detailDataAdapterVisitors) { this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); this.detailDataAdapterVisitors = detailDataAdapterVisitors ?? throw new ArgumentNullException(nameof(detailDataAdapterVisitors)); this.propertyValueAccessorCache = propertyValueAccessorCache ?? throw new ArgumentNullException(nameof(propertyValueAccessorCache)); }
public DetailTableDataAdapter( IGridConfigurationProvider gridConfigurationProvider, IDetailDataAdapterVisitors detailDataAdapterVisitors, IMasterDetailRowArguments masterDetailRowArguments) { this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); this.detailDataAdapterVisitors = detailDataAdapterVisitors ?? throw new ArgumentNullException(nameof(detailDataAdapterVisitors)); this.masterDetailRowArguments = masterDetailRowArguments ?? throw new ArgumentNullException(nameof(masterDetailRowArguments)); }
internal MasterTableDataAdapter( IGridConfigurationProvider gridConfigurationProvider, ITableDataAdapterProvider tableDataAdapterProvider, ITableDataAdapter mainTableDataAdapter) { this.mainTableDataAdapter = mainTableDataAdapter ?? throw new ArgumentNullException(nameof(mainTableDataAdapter)); this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); this.tableDataAdapterProvider = tableDataAdapterProvider ?? throw new ArgumentNullException(nameof(tableDataAdapterProvider)); this.detailTableDataAdapters = new List <ITableDataAdapter>(); }
public ConventionsSet(IGridConfigurationProvider gridConfigurationProvider) { _gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); _conventionsRunnedTypes = new HashSet <Type>(); Conventions = new List <IConvention> { new MasterDetailConvention(gridConfigurationProvider) }; }
public MasterDetailTableDataSet( ITableDataSet tableDataSet, IGridConfigurationProvider gridConfigurationProvider, ITableDataAdapterProvider tableDataAdapterProvider) { this.tableDataSet = tableDataSet ?? throw new ArgumentNullException(nameof(tableDataSet)); this.tableDataAdapterProvider = tableDataAdapterProvider ?? throw new ArgumentNullException(nameof(tableDataAdapterProvider)); this.tableDataAdapters = new HashSet <ITableDataAdapter>(); this.selectedDataAdapters = new Dictionary <object, ITableDataAdapter>(); this.gridConfiguration = gridConfigurationProvider?.FindGridEntityConfigurationByType(typeof(TItem)) ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); }
public GridContextsFactory( IGridConfigurationProvider gridConfigurationProvider, ITypePropertyAccessorCache propertyValueAccessorCache, ICurrentUserPermission currentUserPermission, ILogger <GridContextsFactory> logger) { this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); this.propertyValueAccessorCache = propertyValueAccessorCache ?? throw new ArgumentNullException(nameof(propertyValueAccessorCache)); this.currentUserPermission = currentUserPermission ?? throw new ArgumentNullException(nameof(currentUserPermission)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.imutableRendererContextCache = new Dictionary <Type, ImutableGridRendererContext>(); }
public BlazorComponentColumnCollection(IGridConfigurationProvider gridConfigurationProvider) { this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); this.internalModelBuilder = new InternalModelBuilder(gridConfigurationProvider.ConfigurationModel as Model); }
public MasterDetailTableDataSetFactory(IGridConfigurationProvider gridConfigurationProvider, ITableDataAdapterProvider tableDataAdapterProvider) { this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); this.tableDataAdapterProvider = tableDataAdapterProvider ?? throw new ArgumentNullException(nameof(tableDataAdapterProvider)); }
public MasterDetailConvention(IGridConfigurationProvider gridConfigurationProvider) : base(gridConfigurationProvider) { }
public DetailDataAdapterVisitors(IPropertyValueAccessorCache propertyValueAccessorCache, IGridConfigurationProvider gridConfigurationProvider) { this.propertyValueAccessorCache = propertyValueAccessorCache ?? throw new ArgumentNullException(nameof(propertyValueAccessorCache)); this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); }
public MasterTableDataAdapterBuilder(IGridConfigurationProvider gridConfigurationProvider, ITableDataAdapterProvider tableDataAdapterProvider) { _gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); _tableDataAdapterProvider = tableDataAdapterProvider ?? throw new ArgumentNullException(nameof(tableDataAdapterProvider)); }
public BaseConvention(IGridConfigurationProvider gridConfigurationProvider) { this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); this.internalModelBuilder = new InternalModelBuilder(gridConfigurationProvider.ConfigurationModel as Model); }
protected BaseConvention(IGridConfigurationProvider gridConfigurationProvider) { _gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); InternalModelBuilder = new InternalModelBuilder(gridConfigurationProvider.ConfigurationModel as Model); }
public GridRendererContextFactory(IGridConfigurationProvider gridConfigurationProvider) { this.gridConfigurationProvider = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider)); this.imutableRendererContextCache = new Dictionary <Type, ImutableGridRendererContext>(); }