This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

MulticastAttributeUsageAttribute Class

Custom attribute that determines the usage of a MulticastAttribute.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Extensibility.MulticastAttributeUsageAttribute

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

The MulticastAttributeUsageAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMulticastAttributeUsageAttribute()
Initializes a new MulticastAttributeUsageAttribute.
Public methodMulticastAttributeUsageAttribute(MulticastTargets)
Initializes a new MulticastAttributeUsageAttribute.
Top
Properties
  NameDescription
Public propertyAllowExternalAssemblies
Determines whether this attribute can be applied to declaration of external assemblies (i.e. to other assemblies than the one in which the custom attribute is instantiated).
Public propertyAllowMultiple
Determines whether many instances of the custom attribute are allowed on a single declaration.
Public propertyHideFromAspectBrowser Obsolete.
Determines whether instances of the target MulticastAttribute should be hidden from the Aspect Browser, in the Visual Studio extension.
Public propertyInheritance
Determines whether the custom attribute in inherited along the lines of inheritance of the target element.
Public propertyPersistMetaData
Determines whether the custom attribute should be persisted in metadata, so that it would be available for System.Reflection.
Public propertyTargetExternalMemberAttributes
Gets or sets the attributes of the members (fields or methods) to which the custom attribute can be applied, when the members are external to the current module.
Public propertyTargetExternalTypeAttributes
Gets or sets the attributes of the types to which the custom attribute can be applied, when the type is external to the current module. If the custom attribute relates to fields or methods, this property specifies which attributes of the declaring type are acceptable.
Public propertyTargetMemberAttributes
Gets or sets the attributes of the members (fields or methods) to which the custom attribute can be applied.
Public propertyTargetParameterAttributes
Gets or sets the attributes of the parameter to which the custom attribute can be applied.
Public propertyTargetTypeAttributes
Gets or sets the attributes of the types to which the custom attribute can be applied. If the custom attribute relates to fields or methods, this property specifies which attributes of the declaring type are acceptable.
Public propertyValidOn
Gets the kinds of targets that instances of the related MulticastAttribute apply to.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also