MetalamaAPI documentationAspect APIMetalama.​Framework.​OptionsHierarchical­Options­Attribute
Open sandboxFocus

HierarchicalOptionsAttribute Class

Custom attribute that, when applied to a class implementing the IHierarchicalOptions interface, specifies how the options are inherited.

Inheritance
System.Object
HierarchicalOptionsAttribute
Namespace: Metalama.Framework.Options
Assembly: Metalama.Framework.dll
Syntax
[RunTimeOrCompileTime]
public sealed class HierarchicalOptionsAttribute : Attribute

Constructors

Name Description
HierarchicalOptionsAttribute()

Properties

Name Description
InheritedByDerivedTypes

Gets or sets a value indicating that the options are inherited from the base type to derived types.

InheritedByMembers

Gets or sets a value indicating that the options are inherited from the declaring type to its members.

InheritedByNestedTypes

Gets or sets a value indicating that the options are inherited from the enclosing type to the nested types.

InheritedByOverridingMembers

Gets or sets a value indicating that the options are inherited from the base virtual member to the overridden members.

See Also