Class ReportParameterAttribute
A custom attribute used to mark any parameter inheriting ExecuteReportParameter that this parameter is for the specified entiy type that inherits IReport
Inherited Members
Namespace: LemonEdge.API.Core.Tasks.Parameters
Assembly: LemonEdge.API.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class ReportParameterAttribute : Attribute
Constructors
ReportParameterAttribute(EntityID)
Indicates this parameter inheriting ExecuteReportParameter, is designed to work for the specified
entity reportTypeID
that inherits IReport
Declaration
public ReportParameterAttribute(EntityID reportTypeID)
Parameters
Type | Name | Description |
---|---|---|
EntityID | reportTypeID | The entity that inherits IReport that these parameters are for |
ReportParameterAttribute(string)
Indicates this parameter inheriting ExecuteReportParameter, is designed to work for the specified
entity reportTypeID
that inherits IReport
Declaration
public ReportParameterAttribute(string reportTypeID)
Parameters
Type | Name | Description |
---|---|---|
string | reportTypeID | The entity that inherits IReport that these parameters are for |
Properties
ReportTypeID
The entity that inherits IReport that these parameters are for
Declaration
public Guid ReportTypeID { get; }
Property Value
Type | Description |
---|---|
Guid |
Methods
CreateParameter(IReportBase)
Creates, initializes and returns a new report parameters for the specifed report instance.
Declaration
public static Task<ExecuteReportParameter> CreateParameter(IReportBase forReport)
Parameters
Type | Name | Description |
---|---|---|
IReportBase | forReport | The report to create parameters for running as a task |
Returns
Type | Description |
---|---|
Task<ExecuteReportParameter> | Creates, initializes and returns a new report parameters for the specifed report instance. |