PostSharp6.4/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
  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 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.
See Also