SettingsUnitHelperThrowIfNotNullablePattern - метод
Throws an exception if the specified value is not null and does not match the required regex pattern.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
public static void ThrowIfNotNullablePattern(
string? value,
Regex pattern
)
Public Shared Sub ThrowIfNotNullablePattern (
value As String,
pattern As Regex
)
public:
static void ThrowIfNotNullablePattern(
String^ value,
Regex^ pattern
)
static member ThrowIfNotNullablePattern :
value : string *
pattern : Regex -> unit
Параметры
- value String
- The string value to validate (can be null).
- pattern Regex
- The regular expression to match against.