MetalamaAPI documentationExtensions APIMetalama.​Extensions.​MulticastOverride­Method­Multicast­AspectBuild­Eligibility
Open sandboxFocus

OverrideMethodMulticastAspect.BuildEligibility Method

BuildEligibility(IEligibilityBuilder<IProperty>)

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.

Declaration
public virtual void BuildEligibility(IEligibilityBuilder<IProperty> builder)
Parameters
Type Name Description
IEligibilityBuilder<IProperty> builder

An object that allows the aspect to configure characteristics like description, dependencies, or layers.

Implements
IEligible<T>.BuildEligibility(IEligibilityBuilder<T>)
Remarks

Do not reference instance class members in your implementation of BuildEligibility(IEligibilityBuilder<T>). Indeed, this method is called on an instance obtained using GetUninitializedObject(Type), that is, without invoking the class constructor.

See Also

BuildEligibility(IEligibilityBuilder<IEvent>)

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.

Declaration
public virtual void BuildEligibility(IEligibilityBuilder<IEvent> builder)
Parameters
Type Name Description
IEligibilityBuilder<IEvent> builder

An object that allows the aspect to configure characteristics like description, dependencies, or layers.

Implements
IEligible<T>.BuildEligibility(IEligibilityBuilder<T>)
Remarks

Do not reference instance class members in your implementation of BuildEligibility(IEligibilityBuilder<T>). Indeed, this method is called on an instance obtained using GetUninitializedObject(Type), that is, without invoking the class constructor.

See Also

BuildEligibility(IEligibilityBuilder<IMethod>)

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.

Declaration
public virtual void BuildEligibility(IEligibilityBuilder<IMethod> builder)
Parameters
Type Name Description
IEligibilityBuilder<IMethod> builder

An object that allows the aspect to configure characteristics like description, dependencies, or layers.

Implements
IEligible<T>.BuildEligibility(IEligibilityBuilder<T>)
Remarks

Do not reference instance class members in your implementation of BuildEligibility(IEligibilityBuilder<T>). Indeed, this method is called on an instance obtained using GetUninitializedObject(Type), that is, without invoking the class constructor.

See Also