ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
Loading...
Searching...
No Matches
XmobiTea.Bean.IBeanContext Interface Reference

Combines singleton management, auto-binding, and class scanning functionalities. More...

Inheritance diagram for XmobiTea.Bean.IBeanContext:
XmobiTea.Bean.ISingletonContext XmobiTea.Bean.IAutoBindingContext XmobiTea.Bean.IClassScannerContext XmobiTea.Bean.BeanContext

Additional Inherited Members

- Public Member Functions inherited from XmobiTea.Bean.ISingletonContext
GetSingleton< T > ()
 Gets a singleton instance of the specified type.
 
object GetSingleton (System.Type type)
 Gets a singleton instance of the specified type.
 
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.
 
- Public Member Functions inherited from XmobiTea.Bean.IAutoBindingContext
void AutoBind (object singletonObj)
 Automatically binds dependencies to the specified singleton object.
 
- Public Member Functions inherited from XmobiTea.Bean.IClassScannerContext
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.
 

Detailed Description

Combines singleton management, auto-binding, and class scanning functionalities.


The documentation for this interface was generated from the following file: