Show / Hide Table of Contents

Class Inject

Inheritance
Object
Inject
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 Inject

Methods

| Improve this Doc View Source

Array(Type, Object[])

Declaration
public static ParameterBase Array(Type elementType, params object[] elementValues)
Parameters
Type Name Description
Type elementType
Object[] elementValues
Returns
Type Description
ParameterBase
| Improve this Doc View Source

Array<TElement>(Object[])

Declaration
public static ParameterBase Array<TElement>(params object[] elementValues)
Parameters
Type Name Description
Object[] elementValues
Returns
Type Description
ParameterBase
Type Parameters
Name Description
TElement
| Improve this Doc View Source

Field(String, Object)

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

Parameter(Object)

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

Parameter(Type, Object)

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

Parameter<TTarget>(Object)

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

Property(String, Object)

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