ObjectExtensions Class |
Namespace: Gamelogic.Extensions
[VersionAttribute(1, 4, 0)] public static class ObjectExtensions
The ObjectExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| ThrowIfNegative(Int32, String) |
Throws a ArgumentOutOfRange exception if the integer is negative.
| |
| ThrowIfNegative(Single, String) |
Throws a ArgumentOutOfRange exception if the float is negative.
| |
| ThrowIfNull |
Throws a NullReferenceException if the object is null.
|