A base aspect that overrides the implementation of a field or a property.
Implements
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public abstract class OverrideFieldOrPropertyAspect : FieldOrPropertyAspect, IAspect<IFieldOrProperty>, IAspect, ICompileTimeSerializable, ITemplateProvider, IEligible<IFieldOrProperty>
Constructors
Name | Description |
---|---|
OverrideFieldOrPropertyAspect() |
Properties
Name | Description |
---|---|
OverrideEnumerableProperty | |
OverrideEnumeratorProperty | |
OverrideProperty |
Methods
Name | Description |
---|---|
BuildAspect(IAspectBuilder<IFieldOrProperty>) | Initializes the aspect. The implementation must add advice, child aspects and validators
using the |
BuildEligibility(IEligibilityBuilder<IFieldOrProperty>) | Configures the eligibility of the aspect or attribute. Implementations are not allowed to reference non-static members. Implementations must call the implementation of the base class if it exists. |