PostSharp6.2/API Reference/Post­Sharp.​Aspects.​Advices Namespace/Multicast­Pointcut Class

MulticastPointcut Class

Custom attribute that, when applied on an advice method, specifies to which elements of code this advice applies, based on the kind, name and attributes of code elements. Works similarly as MulticastAttribute.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Aspects.Advices.Pointcut
      PostSharp.Aspects.Advices.MulticastPointcut

Namespace:  PostSharp.Aspects.Advices
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public sealed class MulticastPointcut : Pointcut

The MulticastPointcut type exposes the following members.

Constructors
  NameDescription
Public methodMulticastPointcut
Initializes a new instance of the MulticastPointcut class
Properties
  NameDescription
Public propertyAttributes
Gets or sets the visibilities, scopes, virtualities, and implementation of members to which this attribute applies.
Public propertyMemberName
Gets or sets the expression specifying to which members the aspect extension applies.
Public propertyTargets
Gets or sets the kind of elements to which this aspect extension applies.
Remarks
See Also