Show / Hide Table of Contents

Interface IResolveContext

Inherited Members
IPolicyList.Get(Type, Type)
IPolicyList.Get(Type, String, Type)
IPolicyList.Set(Type, Type, Object)
IPolicyList.Set(Type, String, Type, Object)
IPolicyList.Clear(Type, String, Type)
Namespace: Unity.Resolution
Assembly: Unity.Abstractions.dll
Syntax
public interface IResolveContext : IPolicyList

Properties

| Improve this Doc View Source

Container

Reference to container.

Declaration
IUnityContainer Container { get; }
Property Value
Type Description
IUnityContainer
| Improve this Doc View Source

Name

Name of the registered type

Declaration
string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Type

Type being resolved.

Declaration
Type Type { get; }
Property Value
Type Description
Type

Methods

| Improve this Doc View Source

Resolve(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

Extension Methods

InjectionMatching.Matches(Object, Type)
InjectionMatching.MatchesObject(Object, Type)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2020 .NET Foundation and Contributors. All Rights Reserved