AdviceDependencyAttribute(AspectDependencyAction, AspectDependencyPosition, string)
Initializes a new AdviceDependencyAttribute and specifies a position.
Declaration
public AdviceDependencyAttribute(AspectDependencyAction action, AspectDependencyPosition position, string adviceMethodName)
Parameters
Type | Name | Description |
---|---|---|
AspectDependencyAction | action | Dependency action. |
AspectDependencyPosition | position | Dependency position. |
string | adviceMethodName | Name of the advice method. |
AdviceDependencyAttribute(AspectDependencyAction, string)
Initializes a new AdviceDependencyAttribute without specifying the position, implicitly set to Any.
Declaration
public AdviceDependencyAttribute(AspectDependencyAction action, string adviceMethodName)
Parameters
Type | Name | Description |
---|---|---|
AspectDependencyAction | action | Dependency action. |
string | adviceMethodName | Name of the advice method. |