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