skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • MCP Servers
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    MCP Servers

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class ReportResolverBase

Abstract base class for report resolvers that provides a fallback mechanism for resolving report sources.

Inheritance
System.Object
ReportResolverBase
ReportFileResolver
ReportTypeResolver
Namespace: Telerik.Reporting.Services.WebApi
Assembly: Telerik.Reporting.Services.WebApi.dll

Syntax

[Obsolete("The Telerik.Reporting.Services.WebApi.ReportResolverBase is now obsolete. Please use the Telerik.Reporting.Services.ReportSourceResolverBase class instead.")]
public abstract class ReportResolverBase : IReportResolver
Remarks

This class is obsolete. Please use the ReportSourceResolverBase class instead. Provides a framework for implementing custom report resolution logic with support for chaining multiple resolvers. Derived classes must implement the ResolveReport method to provide the core resolution functionality.

Constructors

ReportResolverBase()

Initializes a new instance of the ReportResolverBase class with no fallback resolver.

Declaration
protected ReportResolverBase()
Remarks

This constructor creates a resolver instance without any fallback mechanism. Use AddFallbackResolver to add fallback resolution capability.

Methods

AddFallbackResolver(IReportResolver)

Adds a fallback resolver that will be used if the current resolver fails to resolve a report.

Declaration
public ReportResolverBase AddFallbackResolver(IReportResolver fallbackResolver)
Parameters
IReportResolver fallbackResolver

The fallback resolver to use when the primary resolution fails. Cannot be null.

Returns
ReportResolverBase

The current ReportResolverBase instance to allow method chaining.

Remarks

Only one fallback resolver can be specified per resolver instance. The fallback resolver will be invoked only if the primary ResolveReport method returns null.

Exceptions
System.Exception

Thrown when a fallback resolver has already been specified for this instance.

ResolveReport(String)

When overridden in a derived class, creates a ReportSource instance based on the provided string representation.

Declaration
protected abstract ReportSource ResolveReport(string report)
Parameters
System.String report

The string representation of the report to resolve. The expected format is defined by the implementing class.

Returns
ReportSource

A ReportSource instance if the report can be resolved; otherwise, null to indicate resolution failure.

Remarks

Override this method in derived classes to implement the core report resolution functionality. Return null if the report cannot be resolved to allow fallback resolution to be attempted. This method should not throw exceptions for resolution failures; instead, return null.

Explicit Interface Implementations

IReportResolver.Resolve(String)

Creates a ReportSource instance based on the provided string representation of a report.

Declaration
ReportSource IReportResolver.Resolve(string report)
Parameters
System.String report

The string representation of the report to resolve. The format depends on the specific resolver implementation.

Returns
ReportSource

A ReportSource instance representing the resolved report, or null if the report cannot be resolved.

Implements
IReportResolver.Resolve(String)
Remarks

This is the explicit interface implementation of IReportResolver.Resolve. The actual resolution logic is delegated to the internal Resolve method which handles fallback resolution.

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.