Class ProhibitedValueStep
- Namespace
- Ubiety.Stringprep.Core
- Assembly
- Ubiety.Stringprep.Core.dll
Step that defines a prohibited value.
public class ProhibitedValueStep : IPreparationProcess
- Inheritance
-
ProhibitedValueStep
- Implements
- Inherited Members
Remarks
Initializes a new instance of the ProhibitedValueStep class.
Constructors
ProhibitedValueStep(IValueRangeTable)
Step that defines a prohibited value.
public ProhibitedValueStep(IValueRangeTable table)
Parameters
tableIValueRangeTableTable of prohibited values.
Remarks
Initializes a new instance of the ProhibitedValueStep class.
Methods
Run(string)
Executes the step.
public string Run(string input)
Parameters
inputstringData to compare against.
Returns
- string
Data if not prohibited.
Exceptions
- ProhibitedValueException
Thrown when input is prohibited.