Class ParameterHex
- Namespace
- TechnologySolutions.Rfid.AsciiProtocol.Parameters
- Assembly
- TechnologySolutions.Rfid.AsciiProtocol.Core.dll
Represents a parameter on the command line that is represented as an ASCII hex string
public class ParameterHex : ParameterText, IParameterAndValue<string>, IParameterValue<string>, ICommandParameter, IParameterAction
- Inheritance
-
ParameterHex
- Implements
- Inherited Members
Constructors
ParameterHex(string, int, int)
Initializes a new instance of the ParameterHex class
public ParameterHex(string identifier, int minimumLength, int maximumLength)
Parameters
identifier
stringThe character(s) that identify the parameter on the command line
minimumLength
intThe minimum length of the string
maximumLength
intThe maximum length of the string
Methods
CheckValue(string)
Checks the value is valid as the Value property is assigned
protected override string CheckValue(string value)
Parameters
value
stringThe value to check
Returns
- string
The checked value