PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ContractsLess­Than­AttributeGet­Error­Message­Arguments
Open sandboxFocus

LessThanAttribute.GetErrorMessageArguments Method

GetErrorMessageArguments()

Gets values of additional arguments for error message associated with particular instance of LocationContractAttribute. There arguments can be referenced from error message string by {4}, {5} and so on.

Declaration
protected override object[] GetErrorMessageArguments()
Returns
Type Description
Object[]

An array of additional argument values.

Overrides
RangeAttribute.GetErrorMessageArguments()