Table of Contents

Class ObjectExtensions

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

Provides extensions for objects.

[Version(1, 4, 0)]
public static class ObjectExtensions
Inheritance
ObjectExtensions
Inherited Members

Methods

ThrowIfNegative(int, string)

Throws a ArgumentOutOfRange exception if the integer is negative.

ThrowIfNegative(float, string)

Throws a ArgumentOutOfRange exception if the float is negative.

ThrowIfNull(object, string)

Throws a NullReferenceException if the object is null.