![]() |
ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
|
Combines singleton management, auto-binding, and class scanning functionalities. More...
Additional Inherited Members | |
![]() | |
T | GetSingleton< T > () |
Gets a singleton instance of the specified type. | |
object | GetSingleton (System.Type type) |
Gets a singleton instance of the specified type. | |
T | CreateSingleton< T > (params object[] args) |
Creates a singleton instance of the specified type. | |
object | CreateSingleton (System.Type type, params object[] args) |
Creates a singleton instance of the specified type. | |
void | SetSingleton (object singletonObj, System.Type type) |
Sets a singleton instance for the specified type. | |
void | SetSingleton< T > (T singletonObj) |
Sets a singleton instance for the specified type. | |
System.Collections.Generic.IEnumerable< object > | GetSingletons () |
Gets all singleton instances in the context. | |
![]() | |
void | AutoBind (object singletonObj) |
Automatically binds dependencies to the specified singleton object. | |
![]() | |
System.Collections.Generic.IEnumerable< System.Type > | ScanClass (string prefixNamespace) |
Scans and retrieves types within the specified namespace. | |
System.Collections.Generic.IEnumerable< System.Type > | ScanClass (string prefixNamespace, System.Collections.Generic.IEnumerable< Assembly > assemblies) |
Scans and retrieves types within the specified namespace and assemblies. | |
System.Collections.Generic.IEnumerable< System.Type > | ScanClassHasCustomAttribute (System.Type type, bool inherit) |
Scans and retrieves types that have the specified custom attribute. | |
System.Collections.Generic.IEnumerable< System.Type > | ScanClassHasCustomAttribute (System.Type type, bool inherit, System.Collections.Generic.IEnumerable< Assembly > assemblies) |
Scans and retrieves types that have the specified custom attribute within the specified assemblies. | |
System.Collections.Generic.IEnumerable< System.Type > | ScanClassFromAssignable (System.Type type) |
Scans and retrieves types that are assignable to the specified type. | |
System.Collections.Generic.IEnumerable< System.Type > | ScanClassFromAssignable (System.Type type, System.Collections.Generic.IEnumerable< Assembly > assemblies) |
Scans and retrieves types that are assignable to the specified type within the specified assemblies. | |
Combines singleton management, auto-binding, and class scanning functionalities.