Skip to content

ReportRegistry class

namespace: Serenity.Reporting   assemblySerenity.Net.Services

Default report registry implementation

public class ReportRegistry : IReportRegistry
parameter description
typeSource The type source to search report types in
permissions Permission service
localizer Text localizer

Public Members

name description
ReportRegistry(…) Default report registry implementation
GetAvailableReportsInCategory(…)
GetReport(…) Returns report with the report key, optionally validating its permissions.
HasAvailableReportsInCategory(…)
static GetReportCategoryTitle(…) Gets category title for a category key
static GetReportKey(…) Gets report key for the report type by looking at its ReportAttribute, returning type full name if it does not have a report key or the attribute.
class Category Model for a report category.
class Report Metadata for a registered report.

Exceptions

exception condition
ArgumentNullException typeSource, permissions or localizer is null.

Remarks

Initializes a new instance of the class.

See Also