Class NullExtensions
- Namespace
 - Acuit.Pinpoint.Workflows.Validation
 
- Assembly
 - Acuit.Pinpoint.Workflows.dll
 
Null-check argument validation extensions.
public static class NullExtensions
  - Inheritance
 - 
      
      NullExtensions
 
- Inherited Members
 
Methods
IsNotNull<T>(ArgumentValidator<T?>)
Validates that an argument value is not null.
public static ArgumentValidator<T?> IsNotNull<T>(this ArgumentValidator<T?> validator) where T : struct
  Parameters
validatorArgumentValidator<T?>The validator.
Returns
- ArgumentValidator<T?>
 The
validatorinstance to support chaining.
Type Parameters
TThe value type.
Exceptions
- ArgumentNullException
 validatoris null.- InvalidOperationException
 The expression value is null.
IsNotNull<T>(ArgumentValidator<T>)
Validates that an argument value is not null.
public static ArgumentValidator<T> IsNotNull<T>(this ArgumentValidator<T> validator) where T : class
  Parameters
validatorArgumentValidator<T>The validator.
Returns
- ArgumentValidator<T>
 The
validatorinstance to support chaining.
Type Parameters
TThe value type.
Exceptions
- ArgumentNullException
 validatoris null.- InvalidOperationException
 The expression value is null.