Open sandboxFocus

Method GetExistingParameter

GetExistingParameter(IConstructor)

Gets an existing parameter that satisfies the dependency, if any.

Declaration
public virtual IParameter? GetExistingParameter(IConstructor constructor)
Parameters
Type Name Description
IConstructor constructor

The constructor in which the dependency is required.

Returns
Type Description
IParameter

A parameter satisfying the dependency, or null.

Implements