Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Multicast­Attribute Class / Multicast­Attribute Properties / Multicast­Attribute.​Attribute­Target­Types Property

MulticastAttribute.AttributeTargetTypes Property

Gets or sets the expression specifying to which types this instance applies.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.38.0 (5.0.38.0)
Syntax
C#
public string AttributeTargetTypes { get; set; }

Property Value

Type: String
A wildcard or regular expression specifying to which types this instance applies, or null this instance applies either to all types. Regular expressions should start with the regex: prefix.
Remarks

Ignored if the AttributeTargetElements are only the module and/or the assembly.

Nested types are delimited by a plus sign (+) in place of a dot (.).

See Also