In Metalama, call the builder
.Advice.IntroduceMethod(INamedType, string, IntroductionScope, OverrideStrategy, Action<IMethodBuilder>?, object?, object?) method.
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, call the <c>builder</c>.'IAspectBuilder.Advice'.'IAdviceFactory.IntroduceMethod(INamedType, string, IntroductionScope, OverrideStrategy, Action<IMethodBuilder>?, object?, object?)' method.", false)]
public sealed class IntroduceMethodAdviceInstance : IntroduceMemberAdviceInstance
Constructors
Name | Description |
---|---|
IntroduceMethodAdviceInstance(MethodInfo, Visibility, bool?, MemberOverrideAction) |
Properties
Name | Description |
---|---|
MasterAspectMember |