The ObjectRegistry type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
ObjectRegistry |
Initializes a new instance of the ObjectRegistry class.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetRegisteredObject T |
Gets the object associated with the type.
| |
GetRegisteredObject T (String) |
Gets the object associated with the specified name.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterObject(Object) |
Add an object to the registry.
| |
RegisterObject(String, Object) |
Add an object to the registry.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnregisterObject(String) |
Remove an object from the registry.
| |
UnregisterObject(Type) |
Remove an object from the registry.
|
Properties
Name | Description | |
---|---|---|
Item |
Gets the object associated with the specified name.
| |
Objects |
Gets the list of objects contained in the registry.
|
See Also