Class Inject
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
|
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 Parameters
Name |
Description |
TElement |
|
|
Improve this Doc
View Source
Field(String, Object)
Declaration
public static InjectionMember Field(string name, object value)
Parameters
Returns
|
Improve this Doc
View Source
Parameter(Object)
Declaration
public static ParameterBase Parameter(object value)
Parameters
Type |
Name |
Description |
Object |
value |
|
Returns
|
Improve this Doc
View Source
Parameter(Type, Object)
Declaration
public static ParameterBase Parameter(Type type, object value)
Parameters
Returns
|
Improve this Doc
View Source
Parameter<TTarget>(Object)
Declaration
public static ParameterBase Parameter<TTarget>(object value)
Parameters
Type |
Name |
Description |
Object |
value |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Property(String, Object)
Declaration
public static InjectionMember Property(string name, object value)
Parameters
Returns