Guard Methods
Represents an argument checker. Exposes members used to validate method parameters.Name | Description |
---|---|
ArgumentNotNull(Object, String) static | Ensures that a specific argument is not a null reference. |
ArgumentNotNullOrEmpty(String, String) static | Ensures that a specific string argument is not a null reference, and is not an empty string. |
CheckObjectFromObjectSpace(IObjectSpace, Object) static | Ensures that a specific object belongs to a particular Object Space. |
CreateArgumentOutOfRangeException(Object, String) static | Initializes a new ArgumentOutOfRangeException class with the specified argument name and value. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
NotDisposed(IDisposableExt, String[]) static | Ensures that a specific object has not been disposed of. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
TypeArgumentIs(Type, Type, String) static | Ensures that an argument has a specific type. |
See Also