AspectTypeDependencyAttribute(AspectDependencyAction, AspectDependencyPosition, Type)
Initializes a new instance of the AspectTypeDependencyAttribute class and specifies a position.
Declaration
public AspectTypeDependencyAttribute(AspectDependencyAction action, AspectDependencyPosition position, Type aspectType)Parameters
| Type | Name | Description |
|---|---|---|
| AspectDependencyAction | action | The dependency action. |
| AspectDependencyPosition | position | The dependency position. |
| Type | aspectType | The aspect type, which must derive from IAspect. |
AspectTypeDependencyAttribute(AspectDependencyAction, Type)
Initializes a new instance of the AspectTypeDependencyAttribute class without specifying the position. The position is implicitly Any.
Declaration
public AspectTypeDependencyAttribute(AspectDependencyAction action, Type aspectType)Parameters
| Type | Name | Description |
|---|---|---|
| AspectDependencyAction | action | The dependency action. |
| Type | aspectType | The aspect type, which must derive from IAspect. |