Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Eligibility / Eligibility­Extensions / Return­Type

Method ReturnType

ReturnType(IEligibilityBuilder<IMethod>)

Gets an IEligibilityBuilder for the return type of the method validated by the given IEligibilityBuilder.

Declaration
public static IEligibilityBuilder<IType> ReturnType(this IEligibilityBuilder<IMethod> eligibilityBuilder)
Parameters
Type Name Description
IEligibilityBuilder<IMethod> eligibilityBuilder
Returns
Type Description
IEligibilityBuilder<IType>