Class
TypeReportSourceResolver

Creates a string representation from UriReportSource instance.

Definition

Namespace:Telerik.ReportViewer.Mvc

Assembly:Telerik.ReportViewer.Mvc.dll

Syntax:

cs-api-definition
[Obsolete]
public class TypeReportSourceResolver : ReportSourceResolver, IReportResolver

Inheritance: objectReportSourceResolverTypeReportSourceResolver

Implements: IReportResolver

Constructors

TypeReportSourceResolver()

Initializes a new instance of the TypeReportSourceResolver class.

Declaration

cs-api-definition
public TypeReportSourceResolver()

TypeReportSourceResolver(IReportResolver)

Initializes a new instance of the TypeReportSourceResolver class.

Declaration

cs-api-definition
public TypeReportSourceResolver(IReportResolver parent)

Parameters

parent

IReportResolver

The fallback resolver

Methods

CanResolve(ReportSource)

Determines if a ReportSource can be resolved as a TypeReportSource.

Declaration

cs-api-definition
protected override bool CanResolve(ReportSource reportSource)

Parameters

reportSource

ReportSource

The ReportSource to be resolved.

Returns

bool

True if the ReportSource can be resolved as TypeReportSource. Otherwise returns false.

Overrides ReportSourceResolver.CanResolve(ReportSource)

Resolve(ReportSource)

Resolves the ReportSource as TypeReportSource to string.

Declaration

cs-api-definition
protected override string Resolve(ReportSource reportSource)

Parameters

reportSource

ReportSource

The ReportSource to be resolved.

Returns

string

The resolved ReportSource as string.

Overrides ReportSourceResolver.Resolve(ReportSource)