MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsOverride­Field­Or­Property­Aspect
Open sandboxFocus

OverrideFieldOrPropertyAspect Class

A base aspect that overrides the implementation of a field or a property.

Inheritance
OverrideFieldOrPropertyAspect
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
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 builder parameter.

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.

See Also