Click or drag to resize
DigitalRuneServiceContainerSelectConstructor Method
Selects the constructor to be used for activating the given type.

Namespace: DigitalRune.ServiceLocation
Assembly: DigitalRune.ServiceLocation (in DigitalRune.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.13596)
Syntax
protected virtual ConstructorInfo SelectConstructor(
	Type type
)

Parameters

type
Type: SystemType
The type to be activated.

Return Value

Type: ConstructorInfo
The constructor that should be used.
Remarks
Notes to Inheritors: This method can be overridden in derived classes if a certain strategy for choosing the constructor should be applied. The base implementation chooses the constructor with the max number of parameters.
See Also