Skip to content

Class Require

Namespace: OfficeOpenXml.Utils
Assembly: EPPlus.dll

Utility for validation in functions.

public static class Require

Inheritance

object ← Require

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Methods

Argument<T>(T)

Represent an argument to the function where the validation is implemented.

public static IArgument<T> Argument<T>(T argument)

Parameters

argument T

The argument to validate

Returns

IArgument<T>

Type Parameters

T