IKernel¶
-
interface
IKernel
-
readonly IHierarchy
Hierarchy
-
IDynamicResolutionFallback
DynamicResolutionFallback
-
IBindToInScopeWithDescendantFilterOrUniqueOrNamed<TInterface>
Bind<TInterface>
() Type Parameters: - TInterface –
-
IBindToInScopeWithDescendantFilterOrUniqueOrNamed
Bind
(System.Type interface) Parameters: - interface (System.Type) –
-
void
Unbind<T>
() Type Parameters: - T –
-
void
Unbind
(System.Type interface) Parameters: - interface (System.Type) –
-
INode
CreateEmptyNode
(string name, INode parent) Parameters: - name (string) –
- parent (Protoinject.INode) –
-
void
Load<T>
() Type Parameters: - T –
-
void
Load
(IProtoinjectModule module) Parameters: - module (Protoinject.IProtoinjectModule) –
-
Protoinject.T
Get<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Object
Get
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
Protoinject.T
TryGet<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Object
TryGet
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
Protoinject.T[]
GetAll<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Object[]
GetAll
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<T>
GetAsync<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<Object>
GetAsync
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<T>
TryGetAsync<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<Object>
TryGetAsync
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<T[]>
GetAllAsync<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<Object[]>
GetAllAsync
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
IPlan<T>
Plan<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
IPlan
Plan
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
IPlan<T>
Plan<T>
(INode current, string bindingName, string planName, INode planRoot, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- planRoot (Protoinject.INode) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
IPlan
Plan
(System.Type type, INode current, string bindingName, string planName, INode planRoot, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- planRoot (Protoinject.INode) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
IPlan
PlanAll<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
Protoinject.IPlan[]
PlanAll
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
IPlan
PlanAll<T>
(INode current, string bindingName, string planName, INode planRoot, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- planRoot (Protoinject.INode) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
Protoinject.IPlan[]
PlanAll
(System.Type type, INode current, string bindingName, string planName, INode planRoot, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- planRoot (Protoinject.INode) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
void
Validate<T>
(IPlan<T> plan) Type Parameters: - T –
Parameters: - plan (Protoinject.IPlan<T>) –
-
void
Validate
(IPlan plan) Parameters: - plan (Protoinject.IPlan) –
-
void
ValidateAll<T>
(IPlan plans) Type Parameters: - T –
Parameters: - plans (Protoinject.IPlan) –
-
void
ValidateAll
(Protoinject.IPlan[] plans) Parameters: - plans (Protoinject.IPlan[]) –
-
Protoinject.T
Resolve<T>
(IPlan<T> plan) Type Parameters: - T –
Parameters: - plan (Protoinject.IPlan<T>) –
-
System.Object
Resolve
(IPlan plan) Parameters: - plan (Protoinject.IPlan) –
-
Protoinject.T[]
ResolveAll<T>
(IPlan plans) Type Parameters: - T –
Parameters: - plans (Protoinject.IPlan) –
-
System.Object[]
ResolveAll
(Protoinject.IPlan[] plans) Parameters: - plans (Protoinject.IPlan[]) –
-
void
Discard<T>
(IPlan<T> plan) Type Parameters: - T –
Parameters: - plan (Protoinject.IPlan<T>) –
-
void
Discard
(IPlan plan) Parameters: - plan (Protoinject.IPlan) –
-
void
DiscardAll<T>
(IPlan plans) Type Parameters: - T –
Parameters: - plans (Protoinject.IPlan) –
-
void
DiscardAll
(Protoinject.IPlan[] plans) Parameters: - plans (Protoinject.IPlan[]) –
-
INode<T>
ResolveToNode<T>
(IPlan<T> plan) Type Parameters: - T –
Parameters: - plan (Protoinject.IPlan<T>) –
-
Protoinject.INode[]
ResolveAllToNode
(Protoinject.IPlan[] plans) Parameters: - plans (Protoinject.IPlan[]) –
-
System.Threading.Tasks.Task<IPlan`1>
PlanAsync<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<IPlan>
PlanAsync
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<IPlan`1>
PlanAsync<T>
(INode current, string bindingName, string planName, INode planRoot, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- planRoot (Protoinject.INode) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<IPlan>
PlanAsync
(System.Type type, INode current, string bindingName, string planName, INode planRoot, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- planRoot (Protoinject.INode) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<IPlan`1[]>
PlanAllAsync<T>
(INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<IPlan[]>
PlanAllAsync
(System.Type type, INode current, string bindingName, string planName, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<IPlan`1[]>
PlanAllAsync<T>
(INode current, string bindingName, string planName, INode planRoot, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Type Parameters: - T –
Parameters: - current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- planRoot (Protoinject.INode) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task<IPlan[]>
PlanAllAsync
(System.Type type, INode current, string bindingName, string planName, INode planRoot, Protoinject.IInjectionAttribute[] injectionAttributes, Protoinject.IConstructorArgument[] arguments, System.Collections.Generic.Dictionary<Type, List`1> transientBindings) Parameters: - type (System.Type) –
- current (Protoinject.INode) –
- bindingName (string) –
- planName (string) –
- planRoot (Protoinject.INode) –
- injectionAttributes (Protoinject.IInjectionAttribute[]) –
- arguments (Protoinject.IConstructorArgument[]) –
- List`1> transientBindings (System.Collections.Generic.Dictionary<Type,) –
-
System.Threading.Tasks.Task
ValidateAsync<T>
(IPlan<T> plan) Type Parameters: - T –
Parameters: - plan (Protoinject.IPlan<T>) –
-
System.Threading.Tasks.Task
ValidateAsync
(IPlan plan) Parameters: - plan (Protoinject.IPlan) –
-
System.Threading.Tasks.Task
ValidateAllAsync<T>
(IPlan plans) Type Parameters: - T –
Parameters: - plans (Protoinject.IPlan) –
-
System.Threading.Tasks.Task
ValidateAllAsync
(Protoinject.IPlan[] plans) Parameters: - plans (Protoinject.IPlan[]) –
-
System.Threading.Tasks.Task<T>
ResolveAsync<T>
(IPlan<T> plan) Type Parameters: - T –
Parameters: - plan (Protoinject.IPlan<T>) –
-
System.Threading.Tasks.Task<Object>
ResolveAsync
(IPlan plan) Parameters: - plan (Protoinject.IPlan) –
-
System.Threading.Tasks.Task<T[]>
ResolveAllAsync<T>
(IPlan plans) Type Parameters: - T –
Parameters: - plans (Protoinject.IPlan) –
-
System.Threading.Tasks.Task<Object[]>
ResolveAllAsync
(Protoinject.IPlan[] plans) Parameters: - plans (Protoinject.IPlan[]) –
-
System.Threading.Tasks.Task
DiscardAsync<T>
(IPlan<T> plan) Type Parameters: - T –
Parameters: - plan (Protoinject.IPlan<T>) –
-
System.Threading.Tasks.Task
DiscardAsync
(IPlan plan) Parameters: - plan (Protoinject.IPlan) –
-
System.Threading.Tasks.Task
DiscardAllAsync<T>
(IPlan plans) Type Parameters: - T –
Parameters: - plans (Protoinject.IPlan) –
-
System.Threading.Tasks.Task
DiscardAllAsync
(Protoinject.IPlan[] plans) Parameters: - plans (Protoinject.IPlan[]) –
-
System.Threading.Tasks.Task<INode`1>
ResolveToNodeAsync<T>
(IPlan<T> plan) Type Parameters: - T –
Parameters: - plan (Protoinject.IPlan<T>) –
-
System.Threading.Tasks.Task<INode>
ResolveToNodeAsync
(IPlan plan) Parameters: - plan (Protoinject.IPlan) –
-
System.Threading.Tasks.Task<INode`1[]>
ResolveAllToNodeAsync<T>
(IPlan plans) Type Parameters: - T –
Parameters: - plans (Protoinject.IPlan) –
-
System.Threading.Tasks.Task<INode[]>
ResolveAllToNodeAsync
(Protoinject.IPlan[] plans) Parameters: - plans (Protoinject.IPlan[]) –
-
readonly IHierarchy