Open sandboxFocus

Method MustBeWritable

MustBeWritable(IEligibilityBuilder<IFieldOrPropertyOrIndexer>)

Requires the target property or indexer to be writable.

Declaration
public static void MustBeWritable(this IEligibilityBuilder<IFieldOrPropertyOrIndexer> eligibilityBuilder)
Parameters
Type Name Description
IEligibilityBuilder<IFieldOrPropertyOrIndexer> eligibilityBuilder

MustBeWritable(IEligibilityBuilder<IParameter>)

Requires the target parameter to be writable, i.e. ref or out.

Declaration
public static void MustBeWritable(this IEligibilityBuilder<IParameter> eligibilityBuilder)
Parameters
Type Name Description
IEligibilityBuilder<IParameter> eligibilityBuilder