Class ReportScriptAttribute
Attribute for report script
Inheritance
ScriptAttribute
ReportScriptAttribute
Inherited Members
Namespace: PayrollEngine.Client.Scripting
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public abstract class ReportScriptAttribute : ScriptAttribute
Constructors
View SourceReportScriptAttribute(string)
Initializes a new instance of the ReportScriptAttribute class
Declaration
protected ReportScriptAttribute(string reportName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | reportName | Name of the report |
ReportScriptAttribute(string, string, string)
Initializes a new instance of the ReportScriptAttribute class
Declaration
protected ReportScriptAttribute(string reportName, string culture, string parameters = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | reportName | Name of the report |
| string | culture | The report culture |
| string | parameters | The report parameters as JSON |
Properties
View SourceCulture
The report culture
Declaration
public string Culture { get; }
Property Value
| Type | Description |
|---|---|
| string |
Parameters
The report parameters
Declaration
public Dictionary<string, string> Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
ReportName
The report name
Declaration
public string ReportName { get; }
Property Value
| Type | Description |
|---|---|
| string |
ScriptKey
Gets the script key
Declaration
public override string ScriptKey { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PayrollEngine.Client.Scripting.ScriptAttribute.ScriptKey