Exemple #1
0
 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>();
 }
Exemple #2
0
 public RunTimeTableDataAdapterProvider(
     IGridConfigurationProvider gridConfigurationProvider,
     IPropertyValueAccessorCache 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 FilterVisitor(
     IMasterDetailRelationship masterDetailRelationship,
     IMasterDetailRowArguments masterDetailRowArguments,
     IPropertyValueAccessorCache propertyValueAccessorCache
     )
 {
     this.masterDetailRelationship   = masterDetailRelationship ?? throw new ArgumentNullException(nameof(masterDetailRelationship));
     this.masterDetailRowArguments   = masterDetailRowArguments ?? throw new ArgumentNullException(nameof(masterDetailRowArguments));
     this.propertyValueAccessorCache = propertyValueAccessorCache ?? throw new ArgumentNullException(nameof(propertyValueAccessorCache));
 }
 public GridContextsFactory(
     IGridConfigurationProvider gridConfigurationProvider,
     IPropertyValueAccessorCache 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 HttpLazyDataSetItemManipulator(HttpClient httpClient, IPropertyValueAccessorCache propertyValueAccessorCache, ILogger <HttpLazyDataSetItemManipulator <TItem> > logger)
 {
     this.httpClient = httpClient ?? throw new ArgumentNullException(nameof(httpClient));
     this.propertyValueAccessorCache = propertyValueAccessorCache ?? throw new ArgumentNullException(nameof(propertyValueAccessorCache));
     this.logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Exemple #6
0
 public DetailDataAdapterVisitors(IPropertyValueAccessorCache propertyValueAccessorCache, IGridConfigurationProvider gridConfigurationProvider)
 {
     this.propertyValueAccessorCache = propertyValueAccessorCache ?? throw new ArgumentNullException(nameof(propertyValueAccessorCache));
     this.gridConfigurationProvider  = gridConfigurationProvider ?? throw new ArgumentNullException(nameof(gridConfigurationProvider));
 }