Interface IResolveContext
Inherited Members
Namespace: Unity.Resolution
Assembly: Unity.Abstractions.dll
Syntax
public interface IResolveContext : IPolicyList
Properties
| Improve this Doc View SourceContainer
Reference to container.
Declaration
IUnityContainer Container { get; }
Property Value
| Type | Description |
|---|---|
| IUnityContainer |
Name
Name of the registered type
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Type
Type being resolved.
Declaration
Type Type { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Methods
| Improve this Doc View SourceResolve(Type, String)
Resolve type/object/dependency using current context
Declaration
object Resolve(Type type, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | Type of requested object |
| String | name | Name of registration |
Returns
| Type | Description |
|---|---|
| Object |