A regular expression representing a restriction on a string configuration option value.
| C# |
public class OptionRestrictionRegex
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| OptionRestrictionRegex()()()() | Initializes a new instance of the OptionRestrictionRegex class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Label |
A unique name representing this regular expression.
| |
| Pattern |
The regular expression pattern that a string configuration option value with this restriction must match.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithLabel(String) |
Sets the Label property
| |
| WithPattern(String) |
Sets the Pattern property
|
| Object | |
| OptionRestrictionRegex | |