Method ShowAsync
| Improve this Doc View SourceShowAsync(DataView, Func<Task<DataSet<T>>>, Boolean)
Shows data to DataView asynchronously.
Declaration
public Task ShowAsync(DataView dataView, Func<Task<DataSet<T>>> getDataSet, bool resetCriteria = false)
Parameters
Type | Name | Description |
---|---|---|
DataView | dataView | The DataView which renders the data. |
System.Func<System.Threading.Tasks.Task<DataSet<T>>> | getDataSet | The delegate to load data asynchronouly. |
System.Boolean | resetCriteria | Indicates whether filtering and sorting criteria should be reseted. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The async task. |
ShowAsync(DataView, Func<Task<DataSet<T>>>, Func<T, Predicate<DataRow>>, Func<T, IComparer<DataRow>>)
Shows data to DataView asynchronously, with specified filtering condition and sorting comparer.
Declaration
public Task ShowAsync(DataView dataView, Func<Task<DataSet<T>>> getDataSet, Func<T, Predicate<DataRow>> getWhere, Func<T, IComparer<DataRow>> getOrderBy)
Parameters
Type | Name | Description |
---|---|---|
DataView | dataView | The DataView which renders the data. |
System.Func<System.Threading.Tasks.Task<DataSet<T>>> | getDataSet | The delegate to load data asynchronouly. |
System.Func<T, System.Predicate<DataRow>> | getWhere | The delegate to return filtering condition. |
System.Func<T, System.Collections.Generic.IComparer<DataRow>> | getOrderBy | The delegate to return sorting comparer. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The async task. |
ShowAsync(DataView, Func<CancellationToken, Task<DataSet<T>>>, Boolean)
Shows data to DataView asynchronously.
Declaration
public Task ShowAsync(DataView dataView, Func<CancellationToken, Task<DataSet<T>>> getDataSet, bool resetCriteria = false)
Parameters
Type | Name | Description |
---|---|---|
DataView | dataView | The DataView which renders the data. |
System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<DataSet<T>>> | getDataSet | The delegate to load data asynchronouly. |
System.Boolean | resetCriteria | Indicates whether filtering and sorting criteria should be reseted. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The async task. |
ShowAsync(DataView, Func<CancellationToken, Task<DataSet<T>>>, Func<T, Predicate<DataRow>>, Func<T, IComparer<DataRow>>)
Shows data to DataView asynchronously, with specified filter condition and sorting comparer.
Declaration
public Task ShowAsync(DataView dataView, Func<CancellationToken, Task<DataSet<T>>> getDataSet, Func<T, Predicate<DataRow>> getWhere, Func<T, IComparer<DataRow>> getOrderBy)
Parameters
Type | Name | Description |
---|---|---|
DataView | dataView | The DataView which renders the data. |
System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<DataSet<T>>> | getDataSet | The delegate to load data asynchronouly. |
System.Func<T, System.Predicate<DataRow>> | getWhere | The delegate to return filtering condition. |
System.Func<T, System.Collections.Generic.IComparer<DataRow>> | getOrderBy | The delegate to return sorting comparer. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The async task. |