Guard Members

Represents an argument checker. Exposes members used to validate method parameters.

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.

Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the of the current instance.
(Inherited from Object)
MemberwiseClone() Creates a shallow copy of the current .
(Inherited from Object)
NotDisposed(IDisposableExt, String[])

Ensures that a specific object has not been disposed of.

ReferenceEquals(Object, Object) Determines whether the specified instances are the same instance.
(Inherited from Object)
ToString() Returns a string that represents the current object.
(Inherited from Object)
TypeArgumentIs(Type, Type, String)

Ensures that an argument has a specific type.

See Also