Class ReportExecutorAttribute
A custom attribute used to mark any class implementing IReportExecutor that it works exclusively for the specified entity type of a IReport
Inherited Members
Namespace: LemonEdge.API.Core.Tasks.Processors
Assembly: LemonEdge.API.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class ReportExecutorAttribute : Attribute
Constructors
ReportExecutorAttribute(EntityID)
Indicates this class implementing IReportExecutor, is designed to work for the specified entity
reportTypeID that inherits IReport
Declaration
public ReportExecutorAttribute(EntityID reportTypeID)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityID | reportTypeID | The entity that inherits IReport that is for |
ReportExecutorAttribute(string)
Indicates this class implementing IReportExecutor, is designed to work for the specified entity
reportTypeID that inherits IReport
Declaration
public ReportExecutorAttribute(string reportTypeID)
Parameters
| Type | Name | Description |
|---|---|---|
| string | reportTypeID | The entity that inherits IReport that is for |
Properties
ReportTypeID
The entity that inherits IReport that this class implements IReportExecutor for
Declaration
public Guid ReportTypeID { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Methods
CreateExecutor(IReportBase)
Creates a new report IReportExecutor for the specifed report instance.
Declaration
public static IReportExecutor CreateExecutor(IReportBase forReport)
Parameters
| Type | Name | Description |
|---|---|---|
| IReportBase | forReport | The report to create an executor for running as a task |
Returns
| Type | Description |
|---|---|
| IReportExecutor | Creates a new report IReportExecutor for the specifed report instance. |