| C1.DataEngine.4 Assembly > C1.FlexPivot Namespace > C1FlexPivotEngine Class > Exec Method : Exec(IEnumerable,Dictionary<String,Object>,CancellationToken,ProgressDelegate) Method |
'Declaration Public Overloads Shared Function Exec( _ ByVal dataSource As System.Collections.IEnumerable, _ ByVal view As System.Collections.Generic.Dictionary(Of String,Object), _ ByVal cancelToken As System.Threading.CancellationToken, _ ByVal progress As ProgressDelegate _ ) As System.Threading.Tasks.Task(Of Dictionary(Of Object(),Object()))
public static System.Threading.Tasks.Task<Dictionary<object[],object[]>> Exec( System.Collections.IEnumerable dataSource, System.Collections.Generic.Dictionary<string,object> view, System.Threading.CancellationToken cancelToken, ProgressDelegate progress )
This method supports multi-user thread-safe execution of views on the server. Result of such execution is intended for passing to a client for visualization on the web or elsewhere.
It can execute views over multiple dataSource collections. It maintains a pool of Workspace objects internally to enable that.
Aggregation result is a dictionary mapping keys to values. See a description of keys and values in %C1.FlexPivot.C1FlexPivotEngine.Exec(string, string, System.Collections.Generic.Dictionary<string,object>, System.Threading.CancellationToken)%