Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Eligibility / Eligibility­Extensions.​Converter<T> / To

Method To

To<TOutput>()

Gets an IEligibilityBuilder<T> for another type. Adds an eligibility rule that the validated object must be of the specified type. If the validated object is not of the specified type, the parent eligibility rule fails.

Declaration
public IEligibilityBuilder<TOutput> To<TOutput>()
where TOutput : class, T
Returns
Type Description
IEligibilityBuilder<TOutput>
Type Parameters
Name Description
TOutput
See Also