ClassFileReportSourceResolver
Creates an relative path to .trdx/.trdp file from UriReportSource instance.
Definition
Namespace:Telerik.ReportViewer.Mvc
Assembly:Telerik.ReportViewer.Mvc.dll
Syntax:
[Obsolete]
public class FileReportSourceResolver : ReportSourceResolver, IReportResolver
Inheritance: objectReportSourceResolverFileReportSourceResolver
Implements:
Constructors
FileReportSourceResolver()
Initializes a new instance of the FileReportSourceResolver class.
Declaration
public FileReportSourceResolver()
FileReportSourceResolver(IReportResolver, string)
Initializes a new instance of the FileReportSourceResolver class.
Declaration
public FileReportSourceResolver(IReportResolver parent, string basePath)
Parameters
parent
The fallback resolver
basePath
string
Physical directory where .trdx/.trdp reports are located. Used as path prefix when relative path is passed for resolving.
FileReportSourceResolver(string)
Initializes a new instance of the FileReportSourceResolver class.
Declaration
public FileReportSourceResolver(string basePath)
Parameters
basePath
string
Physical directory where .trdx/.trdp reports are located. Used as path prefix when relative path is passed for resolving.
Methods
CanResolve(ReportSource)
Determines if a ReportSource can be resolved as a UriReportSource.
Declaration
protected override bool CanResolve(ReportSource reportSource)
Parameters
reportSource
The ReportSource to be resolved.
Returns
bool
True if the ReportSource can be resolved as UriReportSource. Otherwise returns false.
Overrides
Resolve(ReportSource)
Resolves the ReportSource as UriReportSource to string.
Declaration
protected override string Resolve(ReportSource reportSource)
Parameters
reportSource
The ReportSource to be resolved.
Returns
string
The resolved ReportSource as string.
Overrides