AdviceDependencyAttribute Constructor (AspectDependencyAction, AspectDependencyPosition, String) |
Initializes a new AdviceDependencyAttribute and specifies a position.
Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp (in PostSharp.dll) Version: 6.7.12.0 (6.7.12.0)
C#
public AdviceDependencyAttribute( AspectDependencyAction action, AspectDependencyPosition position, string adviceMethodName )
Parameters
- action
- Type: PostSharp.Aspects.Dependencies.AspectDependencyAction
Dependency action. - position
- Type: PostSharp.Aspects.Dependencies.AspectDependencyPosition
Dependency position. - adviceMethodName
- Type: System.String
Name of the advice method.