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.2+a8f0dd3c063817b2e3f05a923303d808e447c338
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.