Custom attribute that, when applied to a method defined in the current assembly, replaces the implementation of this method by a call to the current custom attribute.

Namespace:  PostSharp.Laos
Assembly:  PostSharp.Laos (in PostSharp.Laos.dll)

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.Assembly Or AttributeTargets.Class Or AttributeTargets.Struct Or AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Event, AllowMultiple := True,  _
	Inherited := False)> _
<MulticastAttributeUsageAttribute(MulticastTargets.Method)> _
Public MustInherit Class ImplementMethodAspect _
	Inherits LaosMethodLevelAspect _
	Implements IImplementMethodAspect, ILaosMethodLevelAspect, ILaosWeavableAspect, IInstanceBoundLaosAspect,  _
	ILaosAspect
C#
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Event, AllowMultiple = true, 
	Inherited = false)]
[MulticastAttributeUsageAttribute(MulticastTargets.Method)]
public abstract class ImplementMethodAspect : LaosMethodLevelAspect, IImplementMethodAspect, 
	ILaosMethodLevelAspect, ILaosWeavableAspect, IInstanceBoundLaosAspect, ILaosAspect
Visual C++
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets::Assembly|AttributeTargets::Class|AttributeTargets::Struct|AttributeTargets::Method|AttributeTargets::Property|AttributeTargets::Event, AllowMultiple = true, 
	Inherited = false)]
[MulticastAttributeUsageAttribute(MulticastTargets::Method)]
public ref class ImplementMethodAspect abstract : public LaosMethodLevelAspect, 
	IImplementMethodAspect, ILaosMethodLevelAspect, ILaosWeavableAspect, IInstanceBoundLaosAspect, ILaosAspect

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    PostSharp.Extensibility..::.MulticastAttribute
      PostSharp.Laos..::.LaosAspect
        PostSharp.Laos..::.LaosWeavableAspect
          PostSharp.Laos..::.LaosMethodLevelAspect
            PostSharp.Laos..::.ImplementMethodAspect

See Also