Parameter | Description |
---|---|
index | The index of the source. |
ConstraintSource The source object and its weight.
Gets a constraint source by index.
Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.