public BindingListView(EventTaskScheduler eventTaskScheduler) : base(new List <RowItem>()) { EventTaskScheduler = eventTaskScheduler; QueryLock = new QueryLock(CancellationToken.None); _queryResults = QueryResults.Empty; _queryRequestor = new QueryRequestor(this); AllowNew = AllowRemove = AllowEdit = false; }
public BindingListView(EventTaskScheduler eventTaskScheduler) : base(new List <RowItem>()) { EventTaskScheduler = eventTaskScheduler; QueryLock = new QueryLock(CancellationToken.None); _queryResults = QueryResults.Empty; _itemProperties = ImmutableList <DataPropertyDescriptor> .EMPTY; _queryRequestor = new QueryRequestor(this); AllowNew = AllowRemove = AllowEdit = false; }
public BindingListView(TaskScheduler eventTaskScheduler, CancellationToken cancellationToken) : base(new List <RowItem>()) { EventTaskScheduler = eventTaskScheduler; CancellationToken = cancellationToken; _queryResults = QueryResults.Empty; _itemProperties = new PropertyDescriptorCollection(new PropertyDescriptor[0], true); _queryRequestor = new QueryRequestor(this); AllowNew = AllowRemove = AllowEdit = false; }
public Request(QueryRequestor queryRequestor) { _queryRequestor = queryRequestor; QueryParameters = _queryRequestor.QueryParameters; // ReSharper disable PossiblyMistakenUseOfParamsMethod _cancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(queryRequestor._cancellationTokenSource.Token); // ReSharper restore PossiblyMistakenUseOfParamsMethod }
public Request(QueryRequestor queryRequestor, QueryLock queryLock, RowSourceWrapper rowSourceWrapper) { _queryRequestor = queryRequestor; RowSourceWrapper = rowSourceWrapper; QueryParameters = _queryRequestor.QueryParameters; // ReSharper disable PossiblyMistakenUseOfParamsMethod _cancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(queryLock.CancellationToken); // ReSharper restore PossiblyMistakenUseOfParamsMethod QueryLock = queryLock; }
public Request(QueryRequestor queryRequestor) { _queryRequestor = queryRequestor; QueryParameters = _queryRequestor.QueryParameters; // ReSharper disable PossiblyMistakenUseOfParamsMethod _cancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(queryRequestor._cancellationTokenSource.Token); // ReSharper restore PossiblyMistakenUseOfParamsMethod }