Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectUtils Members

ObjectUtils overview

Public Static (Shared) Fields

EmptyObjects An empty object array.

Public Static (Shared) Methods

EnumerateElementAtIndexOverloaded. Returns the element at the specified index using the supplied enumerator.
EnumerateFirstElementOverloaded. Returns the first element in the supplied enumerator.
GetIdentityHexString Gets a hex String form of an object's identity hash code.
GetQualifiedMethodName Gets the qualified name of the given method, consisting of fully qualified interface/class name + "." method name.
GetZeroArgConstructorInfo Gets the zero arg ConstructorInfo object, if the type offers such functionality.
IdentityToString Return a String representation of an object's overall identity.
InstantiateTypeOverloaded. Instantiates the type using the assembly specified to load the type.
IsAssignable Determine if the given Type is assignable from the given value, assuming setting by reflection and taking care of transparent proxies.
IsAssignableAndNotTransparentProxy Checks whether the supplied instance is not a transparent proxy and is assignable to the supplied type.
IsEmpty Determines whether the specified array is null or empty.
IsInstantiable Determines whether the specified type is instantiable, i.e. not an interface, abstract class or contains open generic type parameters.
IsPrimitiveArray Check if the given class represents a primitive array, i.e. boolean, byte, char, short, int, long, float, or double.
IsSimpleProperty Check if the given Type represents a "simple" property, i.e. a primitive, a String, a Type, or a corresponding array.
NullSafeEquals Determine if the given objects are equal, returning true if both are a null reference (Nothing in Visual Basic) respectively false if only one is a null reference (Nothing in Visual Basic).

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ObjectUtils Class | Spring.Util Namespace