Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 public Request(QueryRequestor queryRequestor)
 {
     _queryRequestor = queryRequestor;
     QueryParameters = _queryRequestor.QueryParameters;
     // ReSharper disable PossiblyMistakenUseOfParamsMethod
     _cancellationTokenSource =
         CancellationTokenSource.CreateLinkedTokenSource(queryRequestor._cancellationTokenSource.Token);
     // ReSharper restore PossiblyMistakenUseOfParamsMethod
 }
Esempio n. 5
0
 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;
 }
Esempio n. 6
0
 public Request(QueryRequestor queryRequestor)
 {
     _queryRequestor = queryRequestor;
     QueryParameters = _queryRequestor.QueryParameters;
     // ReSharper disable PossiblyMistakenUseOfParamsMethod
     _cancellationTokenSource =
         CancellationTokenSource.CreateLinkedTokenSource(queryRequestor._cancellationTokenSource.Token);
     // ReSharper restore PossiblyMistakenUseOfParamsMethod
 }