Class ParameterAttribute
Attribute to expose additonal data about the wrapped C# method parameter.
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
public class ParameterAttribute : Attribute
- Inheritance
-
objectAttributeParameterAttribute
Constructors
ParameterAttribute(bool)
public ParameterAttribute(bool optional)
Parameters
optional
boolIs the parameter optional?
ParameterAttribute(string)
public ParameterAttribute(string name)
Parameters
name
stringThe ezr² name for the parameter.
ParameterAttribute(string, bool)
Attribute to expose additonal data about the wrapped C# method parameter.
public ParameterAttribute(string name, bool optional)
Parameters
name
stringThe ezr² name for the parameter.
optional
boolIs the parameter optional?
Fields
Name
The ezr² name for the parameter.
public readonly string Name
Field Value
- string
Optional
Is the parameter optional?
public readonly bool Optional
Field Value
- bool