Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: NoConsecutiveConstraint(int, int, bool, int[], IEnumerable<int>, bool)

Declaration

public NoConsecutiveConstraint(
    int gridWidth,
    int gridHeight,
    bool includeDiagonals,
    int[] affectedValues = null,
    IEnumerable<int> enforcedCells = null,
    bool enforcedCellsOnly = false
)

Summary

Constructor.

Parameters

intgridWidth See NoConsecutiveConstraint.GridWidth.
intgridHeight See NoConsecutiveConstraint.GridHeight.
boolincludeDiagonals See NoConsecutiveConstraint.IncludeDiagonals.
int[]affectedValues See NoConsecutiveConstraint.AffectedValues.
IEnumerable<int>enforcedCells See NoConsecutiveConstraint.EnforcedCells. If null, the default is to enforce the entire grid.
boolenforcedCellsOnlyThis parameter is not documented.