Class StringExtensions
- Namespace
- Acuit.Pinpoint.Workflows.Validation
- Assembly
- Acuit.Pinpoint.Workflows.dll
String argument validation extensions.
public static class StringExtensions
- Inheritance
-
StringExtensions
- Inherited Members
Methods
IsNotNullOrEmpty(ArgumentValidator<string>)
Validates that a string argument value is not null or empty.
public static ArgumentValidator<string> IsNotNullOrEmpty(this ArgumentValidator<string> validator)
Parameters
validator
ArgumentValidator<string>The validator.
Returns
- ArgumentValidator<string>
The
validator
instance to support chaining.
Exceptions
- ArgumentNullException
validator
is null.- InvalidOperationException
The argument value is null or empty.