Open sandboxFocus

Method IntroduceDependency

IntroduceDependency(IAdviser<INamedType>, IType, DependencyOptions?)

Declaration
public static IntroduceDependencyResult IntroduceDependency(this IAdviser<INamedType> adviser, IType dependencyType, DependencyOptions? options = null)
Parameters
Type Name Description
IAdviser<INamedType> adviser
IType dependencyType
DependencyOptions options
Returns
Type Description
IntroduceDependencyResult

IntroduceDependency(IAdviser<INamedType>, Type, DependencyOptions?)

Declaration
public static IntroduceDependencyResult IntroduceDependency(this IAdviser<INamedType> adviser, Type dependencyType, DependencyOptions? options = null)
Parameters
Type Name Description
IAdviser<INamedType> adviser
Type dependencyType
DependencyOptions options
Returns
Type Description
IntroduceDependencyResult