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