Shunde.NET Framework Class Library

ObjectUtils Members

ObjectUtils overview

Public Static Methods

AddObjectsToCacheAdds a collection of DBObjects to the cache, which can later be accessed using GetObjectFromCache.
AddToArray Adds an object to an array, or replaces it if it's already in the array
DeleteFromListDeletes an DBObject from an array of DBObjects
GetFromListGets a DBObject with the given id from an array of DBObjects, or null if the DBObject is not in the array
GetIDsAsCSV Returns a comma separated list of object IDs
GetObjectFromCachePopulates an object with the given id, and saves it to the cache. In future instances, the cached version is used.
RemoveObjectFromCacheRemoves the object with the given id from the cache
SaveListOfObjectsSaves an array of DBObjects
WriteObjectsToXml Writes a list of DBObjects to a stream as XML

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 | Shunde.Utilities Namespace