Open sandboxFocus

Enum ApplyChangesAxis

Enumerates the axes along which two option layers can be merged by the ApplyChanges(object, in ApplyChangesContext) method.

Namespace: Metalama.Framework.Options
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public enum ApplyChangesAxis

Fields

Name Description
Aspect

Means that options defined by the aspect instance itself override any other option.

BaseDeclaration

Means that options on the base type or overridden member override the options inherited from the namespace or the default options.

ContainingDeclaration

Means that options on the containing declaration (typically the declaring type, but not the namespace, which are specified by the BaseDeclaration axis) override the options defined in the base declaration. For instance, type-level options on the declaring type of an override method override method-level options on the base method.

SameDeclaration

Means that options directly applied to the declaration override other options also directly applied to the declaration.

TargetDeclaration

Means that options directly applied to the declaration override options inherited along the containment or base axis.