Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Video tutorials

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

Post­Sharp

Post­Sharp.​Aspects

Post­Sharp.​Aspects.​Advices

Post­Sharp.​Aspects.​Configuration

Post­Sharp.​Aspects.​Dependencies

Post­Sharp.​Aspects.​Internals

Post­Sharp.​Aspects.​Serialization

Post­Sharp.​Collections

Post­Sharp.​Constraints

Post­Sharp.​Extensibility

Post­Sharp.​Extensibility.​Build­Time­Logging

Post­Sharp.​Reflection

Post­Sharp.​Reflection.​Method­Body

Post­Sharp.​Serialization

  • Article

Property Inheritance

Inheritance

To mark an aspect as inherited, use InheritableAttribute or implement IConditionallyInheritableAspect. Multicast inheritance is not supported in Metalama, but you can build a similar feature by making the aspect implement the IAspect<T> for INamedType and implement multicasting in the BuildAspect(IAspectBuilder<T>) method.

Declaration
[Obsolete("To mark an aspect as inherited, use 'InheritableAttribute' or implement 'IConditionallyInheritableAspect'. Multicast inheritance is not supported in Metalama, but you can build a similar feature by making the aspect implement the 'IAspect<T>' for 'INamedType' and implement multicasting in the 'IAspect<T>.BuildAspect(IAspectBuilder<T>)' method.", false)]
public MulticastInheritance Inheritance { get; set; }
Property Value
Type Description
MulticastInheritance
  • Navigation