Assembly: PostSharp (in PostSharp.dll) Version: 126.96.36.199 (188.8.131.52)
public IntroduceMethodAdviceInstance( MethodInfo method, Visibility visibility, Nullable<bool> isVirtual, MemberOverrideAction overrideAction )
- Type: System.Reflection.MethodInfo
A public method of the aspect class.
- Type: PostSharp.Reflection.Visibility
Visibility of the introduced method.
- Type: System.Nullable<Boolean>
true if the introduced method should be virtual, false if it should be non-virtual (or sealed, if the method is overriding another one), or null if the method should be virtual only if the overridden method is also virtual. See IsVirtual for details.
- Type: PostSharp.Aspects.Advices.MemberOverrideAction
Determines the action to be overtaken when the member to be introduced already exists in the type to which the aspect is applied, or to a base type.