KRHub Methods |
The KRHub type exposes the following members.
Name | Description | |
---|---|---|
adapterForType |
Returns an object of the specified type, if such an object is currently registered in the default group.
| |
adapterForTypeInGroup |
Returns an object of the specified type, if such an object is currently registered in the specified group.
| |
adaptersForGroup |
Returns the list of available registered objects for a specified group.
| |
Equals | Determines whether the specified object is equal to the current object. (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 the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
registerAdapter |
Registers a new adapter to the default group.
| |
registerAdapterInGroup |
Registers a new adapter to a specific group
| |
registerClass |
Registers a class to the default group, under a specific type. Upon requesting a new object from this type from the default group, a new object of the registered class will be instantiated and returned.
| |
registerClassInGroup |
Registers a class to a specific group and a specific type. Upon requesting a new object from this group and type, a new object of the registered class will be instantiated and returned.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |