Parameter(IEligibilityBuilder<IHasParameters>, int)
Gets an IEligibilityBuilder for a parameter of the method validated by the given IEligibilityBuilder, identified by index.
Declaration
public static IEligibilityBuilder<IParameter> Parameter(this IEligibilityBuilder<IHasParameters> eligibilityBuilder, int index)
Parameters
Type | Name | Description |
---|---|---|
IEligibilityBuilder<IHasParameters> | eligibilityBuilder | |
int | index |
Returns
Type | Description |
---|---|
IEligibilityBuilder<IParameter> |
Parameter(IEligibilityBuilder<IHasParameters>, string)
Gets an IEligibilityBuilder for a parameter of the method validated by the given IEligibilityBuilder, identified by name.
Declaration
public static IEligibilityBuilder<IParameter> Parameter(this IEligibilityBuilder<IHasParameters> eligibilityBuilder, string name)
Parameters
Type | Name | Description |
---|---|---|
IEligibilityBuilder<IHasParameters> | eligibilityBuilder | |
string | name |
Returns
Type | Description |
---|---|
IEligibilityBuilder<IParameter> |