Open sandboxFocus

Method IntroduceDependency

IntroduceDependency(DependencyProperties, IAdviser<INamedType>)

Processes the IntroduceDependencyAttribute advice, i.e. introduce a dependency defined by a custom aspect into the target type of the aspect.

Declaration
IntroduceDependencyResult IntroduceDependency(DependencyProperties properties, IAdviser<INamedType> adviser)
Parameters
Type Name Description
DependencyProperties properties

Information regarding the dependency to inject.

IAdviser<INamedType> adviser

An IAspectBuilder<TAspectTarget> for the target type.

Returns
Type Description
IntroduceDependencyResult