PostSharp4.3//API Reference/Post­Sharp.​Extensibility Namespace/Require­Post­Sharp­Attribute Class
RequirePostSharpAttribute Class
Custom attribute that, when applied on another custom attribute (a class derived from Attribute), means that assemblies with elements annotated with that custom attribute should be processed by PostSharp.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Extensibility.RequirePostSharpAttribute

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public sealed class RequirePostSharpAttribute : Attribute

The RequirePostSharpAttribute type exposes the following members.

Constructors
  NameDescription
Public methodRequirePostSharpAttribute
Initializes a new RequirePostSharpAttribute.
Properties
  NameDescription
Public propertyAssemblyReferenceOnly
Determines whether the requirement should apply only to assemblies referencing the declaration to which the custom attribute is applied. If true, the requirement will not apply to the assembly where the custom attribute is used.
Public propertyPlugIn
Gets the name of the required plug-in (file name without the extension).
Public propertyTask
Gets the name of the required task (should be defined in PlugIn).
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also