Skip to end of metadata
Go to start of metadata

Defines a service that provides reporting functionality.

Definition

public interface IReportingService : IService

Summary

The following table summarizes the members exposed in this interface.

Properties

Owner Gets the component's owner.

Methods

ExecuteLoadReportAsync(IReportViewModel, Action<Byte[]>, Action<Exception>) Load report from server with the specified IReportViewModel and callback.
LaunchReport<TReportViewModel>() Launch report with the specified IReportViewModel.
LaunchReport(Type) Launch report with the specified view model type.
LaunchReport<TReportViewModel>(ReportNavigationParameter) Launch report with the specified IReportViewModel.
LaunchReport(Type, ReportNavigationParameter) Launch report with the specified view model type.
SetOwner(object) Sets the owner of the component.

Properties

object Owner { get; }

Gets the component's owner.

Methods

void ExecuteLoadReportAsync(IReportViewModel reportViewModel, Action<Byte[]> onSuccess, Action<Exception> onFail)

Load report from server with the specified IReportViewModel and callback.

Parameters

reportViewModel The IReportViewModel which is needed to load the report from server.
onSuccess The action to be called if the report is loaded successfully.
onFail The action to be called if the report cannot be loaded properly.

void LaunchReport<TReportViewModel>()

Launch report with the specified IReportViewModel.

Type Parameters

TReportViewModel The IReportViewModel which is used to provide the report settings.

void LaunchReport(Type targetViewModelType)

Launch report with the specified view model type.

Parameters

targetViewModelType The report view model to navigate.

void LaunchReport<TReportViewModel>(ReportNavigationParameter parameter)

Launch report with the specified IReportViewModel.

Type Parameters

TReportViewModel The IReportViewModel which is used to provide the report settings.

Parameters

parameter The report navigation parameter.

void LaunchReport(Type targetViewModelType, ReportNavigationParameter parameter)

Launch report with the specified view model type.

Parameters

targetViewModelType The report view model to navigate.
parameter The report navigation parameter.

void SetOwner(object owner)

Sets the owner of the component.

Parameters

owner The owner.
  • No labels