Table of Contents

Method RunAsync

Namespace
ReportWright.AspNetCore
Assembly
ReportWright.AspNetCore.dll

RunAsync(string, RunRequest, ClaimsPrincipal?, CancellationToken)

Runs a report into a cached session.

public Task<ReportSession> RunAsync(string path, RunRequest request, ClaimsPrincipal? user, CancellationToken cancellationToken)

Parameters

path string

The report's path.

request RunRequest

The parameters, mode and culture.

user ClaimsPrincipal

The request's user.

cancellationToken CancellationToken

Cancels the run.

Returns

Task<ReportSession>

The session.