Guard Members

Methods

Name Description
ArgumentNotNull(Object, String)

Ensures that a specific argument is not a null reference.

ArgumentNotNullOrEmpty(String, String)

Ensures that a specific string argument is not a null reference, and is not an empty string.

CheckObjectFromObjectSpace(IObjectSpace, Object)

Ensures that a specific object belongs to a particular Object Space.

CreateArgumentOutOfRangeException(Object, String)

Initializes a new ArgumentOutOfRangeException class with the specified argument name and value.

NotDisposed(IDisposableExt, String[])

Ensures that a specific object has not been disposed of.

TypeArgumentIs(Type, Type, String)

Ensures that an argument has a specific type.