Class ActionParameterAttribute
Attribute for action parameter
Inherited Members
Namespace: PayrollEngine.Client.Scripting
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class ActionParameterAttribute : Attribute
Constructors
View SourceActionParameterAttribute(string, string, string[], string[], string[])
Initializes a new instance of the ActionAttribute class
Declaration
public ActionParameterAttribute(string name, string description = null, string[] valueTypes = null, string[] valueSources = null, string[] valueReferences = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The action signature |
| string | description | The action description |
| string[] | valueTypes | The action parameter types |
| string[] | valueSources | The action parameter source types |
| string[] | valueReferences | The action parameter reference types |
Properties
View SourceDescription
The action description
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
Name
The action parameter name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
ValueReferences
The action parameter reference types
Declaration
public string[] ValueReferences { get; }
Property Value
| Type | Description |
|---|---|
| string[] |
ValueSources
The action parameter source types
Declaration
public string[] ValueSources { get; }
Property Value
| Type | Description |
|---|---|
| string[] |
ValueTypes
The action parameter types
Declaration
public string[] ValueTypes { get; }
Property Value
| Type | Description |
|---|---|
| string[] |