Class InjectionConstructor
A class that holds the collection of information for a constructor, so that the container can be configured to call this constructor.
public class InjectionConstructor : MethodBase<ConstructorInfo>, IEquatable<ConstructorInfo>
- Inheritance
-
InjectionConstructor
- Implements
- Inherited Members
- Extension Methods
Constructors
InjectionConstructor(params object[])
Create a new instance of InjectionConstructor that looks for a constructor with the given set of parameters.
public InjectionConstructor(params object[] arguments)
Parameters
arguments
object[]The values for the constructor's parameters, that will be used to create objects.
InjectionConstructor(ConstructorInfo, params object[])
public InjectionConstructor(ConstructorInfo info, params object[] arguments)
Parameters
info
ConstructorInfoarguments
object[]
Methods
DeclaredMembers(Type)
public override IEnumerable<ConstructorInfo> DeclaredMembers(Type type)
Parameters
type
Type
Returns
SelectMember(Type, InjectionMember)
protected override ConstructorInfo SelectMember(Type type, InjectionMember _)
Parameters
type
Type_
InjectionMember
Returns
ToString()
public override string ToString()