Custom attribute that, when applied to a class implementing the IHierarchicalOptions interface, specifies how the options are inherited.
Namespace: Metalama.Framework.Options
Assembly: Metalama.Framework.dll
Syntax
[RunTimeOrCompileTime]
[AttributeUsage(AttributeTargets.Class)]
public sealed class HierarchicalOptionsAttribute : AttributeConstructors
| 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. |