PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Multicast­Attribute­Usage­Attribute Class / Multicast­Attribute­Usage­Attribute Properties
MulticastAttributeUsageAttribute Properties

The MulticastAttributeUsageAttribute type exposes the following members.

Properties
  Name Description
Public property AllowExternalAssemblies
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 property AllowMultiple
Determines whether many instances of the custom attribute are allowed on a single declaration.
Public property HideFromAspectBrowser Obsolete.
Determines whether instances of the target MulticastAttribute should be hidden from the Aspect Browser, in the Visual Studio extension.
Public property Inheritance
Determines whether the custom attribute in inherited along the lines of inheritance of the target element.
Public property PersistMetaData
Determines whether the custom attribute should be persisted in metadata, so that it would be available for System.Reflection.
Public property TargetExternalMemberAttributes
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 property TargetExternalTypeAttributes
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 property TargetMemberAttributes
Gets or sets the attributes of the members (fields or methods) to which the custom attribute can be applied.
Public property TargetParameterAttributes
Gets or sets the attributes of the parameter to which the custom attribute can be applied.
Public property TargetTypeAttributes
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 property ValidOn
Gets the kinds of targets that instances of the related MulticastAttribute apply to.
See Also