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

MulticastAttribute.AttributeInheritance Property

Determines whether this attribute is inherited

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.34.0 (5.0.34.0)
Syntax
C#
public MulticastInheritance AttributeInheritance { get; set; }

Property Value

Type: MulticastInheritance
Remarks

If this property is not set to MulticastInheritance.None, a copy of this attribute will be propagated along the lines of inheritance of the target element:

  • On classes: all classed derived from that class.
  • On interfaces: all classes implementing this interface.
  • On virtual, abstract or interface methods: all methods overriding or implementing this method.
  • On parameters or return value of virtual, abstract or interface methods: corresponding parameter or return value on all methods or overriding or implementing the parent method of the target parameter or return value.
See Also