public ChangeableCC(IPlayablePuzzleConstraints constraints) { this.columnConstraints = constraints; //constraints hebben een value, dus ik moet deze ook hebben om te zien als ik een match heb //om te zien als deze matchen this.Values = this.columnConstraints.Values.Map(value => new ChangeableValue(value, IsSatisfied)); }
public RowsVM(IPlayablePuzzleConstraints row) { this.row = row; this.Satisfied = row.IsSatisfied; }
public ColumnsVM(IPlayablePuzzleConstraints column) { this.column = column; this.Satisfied = column.IsSatisfied; }
public ConstraintsVM(IPlayablePuzzleConstraints constraints) { this.constraints = constraints; this.Values = constraints.Values.Select(v => new ConstrainstValueVM(v)).ToList(); }
public ConstraintsVM(IPlayablePuzzleConstraints playablePuzzleConstraints) { this.playablePuzzleConstraints = playablePuzzleConstraints; }
public ConstraintsVM(IPlayablePuzzleConstraints iPlayablePuzzleConstraintswrapped) { this.iPlayablePuzzleConstraintswrapped = iPlayablePuzzleConstraintswrapped; vmValues = iPlayablePuzzleConstraintswrapped.Values.Map(constraints => new ConstraintsValueVM(constraints)).Copy(); vmIsSatisfied = iPlayablePuzzleConstraintswrapped.IsSatisfied; }
public IPlayablePuzzleConstraintsVM(IPlayablePuzzleConstraints constraints) { this.wrapped = constraints; }
public PuzzleConstraintsViewModel(IPlayablePuzzleConstraints constraints) { this.playablePuzzleConstraints = constraints; this.Values = this.playablePuzzleConstraints.Values.Map(value => new PuzzleConstraintsValueViewModel(value)).Copy(); }
public PlayablePuzzleConstraintsValueViewModel(IPlayablePuzzleConstraints constraints) { this.Values = constraints; }
public ConstraintsViewModel(IPlayablePuzzleConstraints constraints) { this.constraints = constraints; this.Values = constraints.Values.Map((IPlayablePuzzleConstraintsValue value) => new ConstraintsValueViewModel(value)).Copy(); }