MetalamaAPI documentationExtensions APIMetalama.​Extensions.​MulticastMulticast­AspectBuild­Eligibility
Open sandboxFocus

MulticastAspect.BuildEligibility Method

BuildEligibility(IEligibilityBuilder<ICompilation>)

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<ICompilation> builder)
Parameters
Type Name Description
IEligibilityBuilder<ICompilation> builder
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<INamedType>)

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<INamedType> builder)
Parameters
Type Name Description
IEligibilityBuilder<INamedType> builder
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