IntroduceMethodAdviceInstance(MethodInfo, Visibility, bool?, MemberOverrideAction)
Initializes a new instance of the IntroduceMethodAdviceInstance class.
Declaration
public IntroduceMethodAdviceInstance(MethodInfo method, Visibility visibility, bool? isVirtual, MemberOverrideAction overrideAction)Parameters
| Type | Name | Description |
|---|---|---|
| MethodInfo | method | A public method of the aspect class. |
| Visibility | visibility | Visibility of the introduced method. |
| bool? | isVirtual |
|
| MemberOverrideAction | overrideAction | 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. |