FlexPivot for WinForms
Exec(IEnumerable,Dictionary<String,Object>,CancellationToken,ProgressDelegate) メソッド

C1.PivotEngine アセンブリ > C1.PivotEngine 名前空間 > C1PivotEngine クラス > Exec メソッド : Exec(IEnumerable,Dictionary<String,Object>,CancellationToken,ProgressDelegate) メソッド
Data source collection containing data for aggregation.
View definition. It is obtained from a view in JSON format using System.Web.Script.Serialization.JavaScriptSerializer.Deserialize.
Enables task cancellation.
Callback function to report progress updates.
Server-side asynchronous execution of a view returning aggregated results to the caller client.
シンタックス
'宣言
 
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
)

パラメータ

dataSource
Data source collection containing data for aggregation.
view
View definition. It is obtained from a view in JSON format using System.Web.Script.Serialization.JavaScriptSerializer.Deserialize.
cancelToken
Enables task cancellation.
progress
Callback function to report progress updates.

戻り値の型

View execution (aggregation) result
解説

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.PivotEngine.C1PivotEngine.Exec(string, string, System.Collections.Generic.Dictionary<string,object>, System.Threading.CancellationToken)%

参照

C1PivotEngine クラス
C1PivotEngine メンバ
オーバーロード一覧