StandardEffects Class |

Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp (in PostSharp.dll) Version: 6.5.15.0 (6.5.15.0)

public static class StandardEffects
The StandardEffects type exposes the following members.

Name | Description | |
---|---|---|
![]() ![]() | GetInterfaceIntroductionEffect |
Gets a string representing the effect of introducing an interface into a type.
|
![]() ![]() | GetMemberImportEffect |
Gets a string representing the effect of importing a member into from the target
type into the aspect.
|
![]() ![]() | GetMemberIntroductionEffect |
Gets a string representing the effect of introducing a member into a type.
|

Name | Description | |
---|---|---|
![]() ![]() | ChangeControlFlow |
Change the flow control (for instance by having the possibility to skip execution of an
intercepted method).
|
![]() ![]() | Custom |
Custom effect (implemented in an aspect advice). All advices have this effect by default,
unless they are annotated by WaiveAspectEffectAttribute.
|
![]() ![]() | CustomAttributeIntroduction |
Introduction of a custom attribute.
|
![]() ![]() | InterfaceIntroduction |
Introduction of an interface.
|
![]() ![]() | MemberImport |
Import of a type member.
|
![]() ![]() | MemberIntroduction |
Introduction of a type member.
|

See AspectEffectDependencyAttribute for a discussion of effects.
This list is not meant to be extended by vendors providing concrete aspects (implementing some business functionality). Roles should be used to categorized the business effect of concrete aspects. However, if you implement a new kind of abstract aspect (for instance member suppression), you may need to define new effects.
In that case, we at PostSharp encourage you contact us to define a new role string. If you define a new role string, we recommend you clearly define it so that users of your aspect can express dependencies with their own aspects, or third-party aspects.
