Class BindingRegistry
Caches all the RegisterBinding attributes and their specific types
Namespace: Mechatronics.SystemGraph
Syntax
public static class BindingRegistry
Fields
BindingMap
Binding map associates Binding generic type declared from the RegisterBindingAttribute with the type exposing the attribute
Declaration
public static Dictionary<Type, Type> BindingMap
Field Value
| Type | Description |
|---|---|
| Dictionary<Type, Type> |
Methods
GetRegisteredBindingType(Type)
Gets the type containing the registered binding.
Declaration
public static Type GetRegisteredBindingType(Type bindingType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | bindingType | Type of the binding we want to extract the container class. |
Returns
| Type | Description |
|---|---|
| Type | Container class type |