PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesIntroduce­Method­Advice­Instance
Open sandboxFocus

IntroduceMethodAdviceInstance Class

Represents an advice that introduces a method of the aspect class into the target class.

Inheritance
IntroduceMethodAdviceInstance
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public sealed class IntroduceMethodAdviceInstance : IntroduceMemberAdviceInstance

Constructors

Name Description
IntroduceMethodAdviceInstance(MethodInfo, Visibility, Nullable<Boolean>, MemberOverrideAction)

Initializes a new instance of the IntroduceMethodAdviceInstance class.

Properties

Name Description
MasterAspectMember

Gets the main field or method of the aspect class that the current AdviceInstance relates to.

See Also