Open sandboxFocus

Method MustBe

MustBe(IEligibilityBuilder<IType>, Type, ConversionKind)

Declaration
[Obsolete("This method has been renamed MustBeConvertibleTo or MustEqual.")]
public static void MustBe(this IEligibilityBuilder<IType> eligibilityBuilder, Type type, ConversionKind conversionKind = ConversionKind.Default)
Parameters
Type Name Description
IEligibilityBuilder<IType> eligibilityBuilder
Type type
ConversionKind conversionKind

MustBe(IEligibilityBuilder<IType>, IType, ConversionKind)

Declaration
[Obsolete("This method has been renamed MustBeConvertibleTo or MustEqual.")]
public static void MustBe(this IEligibilityBuilder<IType> eligibilityBuilder, IType type, ConversionKind conversionKind = ConversionKind.Default)
Parameters
Type Name Description
IEligibilityBuilder<IType> eligibilityBuilder
IType type
ConversionKind conversionKind

MustBe<T>(IEligibilityBuilder<IType>, ConversionKind)

Declaration
[Obsolete("This method has been renamed MustBeConvertibleTo or MustEqual.")]
public static void MustBe<T>(this IEligibilityBuilder<IType> eligibilityBuilder, ConversionKind conversionKind = ConversionKind.Default)
Parameters
Type Name Description
IEligibilityBuilder<IType> eligibilityBuilder
ConversionKind conversionKind
Type Parameters
Name Description
T