TryIntroduceDependency(IAspectBuilder, DependencyProperties, out IFieldOrProperty?)
Tries to introduce a dependency into a specified type.
Declaration
public static bool TryIntroduceDependency(this IAspectBuilder aspectBuilder, DependencyProperties properties, out IFieldOrProperty? dependencyFieldOrProperty)
Parameters
Type | Name | Description |
---|---|---|
IAspectBuilder | aspectBuilder | An IAspectBuilder. |
DependencyProperties | properties | The properties of the dependency to introduce. |
IFieldOrProperty | dependencyFieldOrProperty | When the method succeeds, the field or dependency that represents the dependency. |
Returns
Type | Description |
---|---|
bool |
|