Class Require
Utility for validation in functions.
Inheritance
Object
Require
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml.Utils
Assembly: EPPlus.dll
Syntax
public static class Require
Methods
Argument<T>(T)
Represent an argument to the function where the validation is implemented.
Declaration
public static IArgument<T> Argument<T>(T argument)
Parameters
| Type | Name | Description |
|---|---|---|
| T | argument | The argument to validate |
Returns
| Type | Description |
|---|---|
| IArgument<T> |
Type Parameters
| Name | Description |
|---|---|
| T |