Method CreateSubreportResolver
- Namespace
- ReportWright.AspNetCore
- Assembly
- ReportWright.AspNetCore.dll
CreateSubreportResolver(string)
Creates the resolver that finds a report's subreports in the store, beside the report or by a path from the store's root.
public ReportSubreportResolver CreateSubreportResolver(string path)
Parameters
pathstringThe parent report's path in the store.
Returns
- ReportSubreportResolver
The resolver; a subreport the store lacks resolves to null, which the engine reports as a diagnostic.
CreateSubreportResolver(string, ClaimsPrincipal?)
Creates the subreport resolver for one caller: a subreport the caller may not view resolves to null, as one the store lacks does.
public ReportSubreportResolver CreateSubreportResolver(string path, ClaimsPrincipal? user)
Parameters
pathstringThe parent report's path in the store.
userClaimsPrincipalThe caller, or null when anonymous.
Returns
- ReportSubreportResolver
The resolver.