Show / Hide Table of Contents

Class Resolve

Inheritance
Object
Resolve
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Unity
Assembly: Unity.Abstractions.dll
Syntax
public static class Resolve

Methods

| Improve this Doc View Source

Dependency<TTarget>()

Declaration
public static ParameterBase Dependency<TTarget>()
Returns
Type Description
ParameterBase
Type Parameters
Name Description
TTarget
| Improve this Doc View Source

Dependency<TTarget>(String)

Declaration
public static ParameterBase Dependency<TTarget>(string name)
Parameters
Type Name Description
String name
Returns
Type Description
ParameterBase
Type Parameters
Name Description
TTarget
| Improve this Doc View Source

Field(String)

Declaration
public static InjectionMember Field(string name)
Parameters
Type Name Description
String name
Returns
Type Description
InjectionMember
| Improve this Doc View Source

Generic(String)

Declaration
public static GenericParameter Generic(string genericParameterName)
Parameters
Type Name Description
String genericParameterName
Returns
Type Description
GenericParameter
| Improve this Doc View Source

Generic(String, String)

Declaration
public static GenericParameter Generic(string genericParameterName, string registrationName)
Parameters
Type Name Description
String genericParameterName
String registrationName
Returns
Type Description
GenericParameter
| Improve this Doc View Source

Optional()

Declaration
public static ParameterBase Optional()
Returns
Type Description
ParameterBase
| Improve this Doc View Source

Optional(String)

Declaration
public static ParameterBase Optional(string name)
Parameters
Type Name Description
String name
Returns
Type Description
ParameterBase
| Improve this Doc View Source

Optional(Type)

Declaration
public static ParameterBase Optional(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
ParameterBase
| Improve this Doc View Source

Optional(Type, String)

Declaration
public static ParameterBase Optional(Type type, string name)
Parameters
Type Name Description
Type type
String name
Returns
Type Description
ParameterBase
| Improve this Doc View Source

Optional<TTarget>()

Declaration
public static ParameterBase Optional<TTarget>()
Returns
Type Description
ParameterBase
Type Parameters
Name Description
TTarget
| Improve this Doc View Source

Optional<TTarget>(String)

Declaration
public static ParameterBase Optional<TTarget>(string name)
Parameters
Type Name Description
String name
Returns
Type Description
ParameterBase
Type Parameters
Name Description
TTarget
| Improve this Doc View Source

OptionalField(String)

Declaration
public static InjectionMember OptionalField(string name)
Parameters
Type Name Description
String name
Returns
Type Description
InjectionMember
| Improve this Doc View Source

OptionalProperty(String)

Declaration
public static InjectionMember OptionalProperty(string name)
Parameters
Type Name Description
String name
Returns
Type Description
InjectionMember
| Improve this Doc View Source

Parameter()

Declaration
public static ParameterBase Parameter()
Returns
Type Description
ParameterBase
| Improve this Doc View Source

Parameter(String)

Declaration
public static ParameterBase Parameter(string name)
Parameters
Type Name Description
String name
Returns
Type Description
ParameterBase
| Improve this Doc View Source

Parameter(Type)

Declaration
public static ParameterBase Parameter(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
ParameterBase
| Improve this Doc View Source

Parameter(Type, String)

Declaration
public static ParameterBase Parameter(Type type, string name)
Parameters
Type Name Description
Type type
String name
Returns
Type Description
ParameterBase
| Improve this Doc View Source

Parameter<TTarget>()

Declaration
public static ParameterBase Parameter<TTarget>()
Returns
Type Description
ParameterBase
Type Parameters
Name Description
TTarget
| Improve this Doc View Source

Parameter<TTarget>(String)

Declaration
public static ParameterBase Parameter<TTarget>(string name)
Parameters
Type Name Description
String name
Returns
Type Description
ParameterBase
Type Parameters
Name Description
TTarget
| Improve this Doc View Source

Property(String)

Declaration
public static InjectionMember Property(string name)
Parameters
Type Name Description
String name
Returns
Type Description
InjectionMember
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2020 .NET Foundation and Contributors. All Rights Reserved