Show / Hide Table of Contents

Interface IResolve

A strategy that is used at build plan execution time to resolve a dependent value.

Namespace: Unity.Resolution
Assembly: Unity.Abstractions.dll
Syntax
public interface IResolve

Methods

| Improve this Doc View Source

Resolve<TContext>(ref TContext)

GetOrDefault the value

Declaration
object Resolve<TContext>(ref TContext context)
    where TContext : IResolveContext
Parameters
Type Name Description
TContext context

Current build context.

Returns
Type Description
Object

The value for the dependency.

Type Parameters
Name Description
TContext

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