Class AsciiParameterAttribute
- Namespace
- TechnologySolutions.Rfid.AsciiProtocol
- Assembly
- TechnologySolutions.Rfid.AsciiProtocol.Core.dll
This attribute is used to identify the parameter property of a AsciiCommandBase. It reports the parameter identifier as written to the command line and the group to which the parameter belongs
[AttributeUsage(AttributeTargets.Property)]
public sealed class AsciiParameterAttribute : Attribute
- Inheritance
-
AsciiParameterAttribute
- Inherited Members
Constructors
AsciiParameterAttribute(string)
Initializes a new instance of the CategoryAttribute class
public AsciiParameterAttribute(string parameterIdentifier)
Parameters
parameterIdentifier
stringThe identifier for the parameter on the command line
AsciiParameterAttribute(string, string)
Initializes a new instance of the CategoryAttribute class
public AsciiParameterAttribute(string parameterIdentifier, string parameterGroup)
Parameters
parameterIdentifier
stringThe identifier for the parameter on the command line
parameterGroup
stringThe group that the parameter belongs to
Properties
ParameterGroup
Gets the name of the group that the parameter of the property that this attribute is applied to
public string ParameterGroup { get; }
Property Value
ParameterIdentifier
Gets the identifier of the parameter as written to the command line of the property that this attribute is applied to
public string ParameterIdentifier { get; }