Class InjectionConstructor
A class that holds the collection of information
for a constructor, so that the container can
be configured to call this constructor.
Inheritance
InjectionConstructor
Assembly: Unity.Abstractions.dll
Syntax
public class InjectionConstructor : MethodBase<ConstructorInfo>, IEquatable<ConstructorInfo>
Constructors
|
Improve this Doc
View Source
InjectionConstructor(Object[])
Create a new instance of InjectionConstructor that looks
for a constructor with the given set of parameters.
Declaration
public InjectionConstructor(params object[] arguments)
Parameters
Type |
Name |
Description |
Object[] |
arguments |
The values for the constructor's parameters, that will
be used to create objects.
|
|
Improve this Doc
View Source
InjectionConstructor(ConstructorInfo, Object[])
Declaration
public InjectionConstructor(ConstructorInfo info, params object[] arguments)
Parameters
Methods
|
Improve this Doc
View Source
DeclaredMembers(Type)
Declaration
public override IEnumerable<ConstructorInfo> DeclaredMembers(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Overrides
Unity.Injection.InjectionMember<System.Reflection.ConstructorInfo, System.Object[]>.DeclaredMembers(System.Type)
|
Improve this Doc
View Source
SelectMember(Type, InjectionMember)
Declaration
protected override ConstructorInfo SelectMember(Type type, InjectionMember _)
Parameters
Returns
Overrides
Unity.Injection.InjectionMember<System.Reflection.ConstructorInfo, System.Object[]>.SelectMember(System.Type, Unity.Injection.InjectionMember)
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods