Requires the target type to be convertible to a given type (specified as a reflection Type).
Declaration
public static void MustBe(this IEligibilityBuilder<IType> eligibilityBuilder, Type type, ConversionKind conversionKind = ConversionKind.Default)
Parameters
Requires the target type to be convertible to a given type (specified as an IType).
Declaration
public static void MustBe(this IEligibilityBuilder<IType> eligibilityBuilder, IType type, ConversionKind conversionKind = ConversionKind.Default)
Parameters
Requires the target type to be convertible to a given type (specified as a type parameter).
Declaration
public static void MustBe<T>(this IEligibilityBuilder<IType> eligibilityBuilder, ConversionKind conversionKind = ConversionKind.Default)
Parameters
Type Parameters