Class ReportParameterAttribute
A custom attribute used to mark any parameter inheriting ExecuteReportParameter that this parameter is for the specified entiy type that inherits IReport
Inheritance
Inherited Members
Namespace: LemonEdge.API.Tasks.Parameters
Assembly: API.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, 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 |
---|---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Threading.Tasks.Task<ExecuteReportParameter> | Creates, initializes and returns a new report parameters for the specifed report instance. |