public ChangeableValue(IPlayablePuzzleConstraintsValue value, Cell <bool> IsSatisfiedConstrain) { this._value = value; this.higherSatisfaction = IsSatisfiedConstrain; this.wholecount = Cell.Derived(higherSatisfaction, IsSatisfied, (cc, v) => cc && v ? 2 : 0); }
public ConstraintsValueVM(IPlayablePuzzleConstraintsValue iPlayablePuzzleConstraintsValuewrapped) { this.iPlayablePuzzleConstraintsValuewrapped = iPlayablePuzzleConstraintsValuewrapped; vmValue = iPlayablePuzzleConstraintsValuewrapped.Value; vmIsSatisfied = iPlayablePuzzleConstraintsValuewrapped.IsSatisfied; }
public ConstraintsValueVM(IPlayablePuzzleConstraintsValue playablePuzzleConstraintsValue) { this.playablePuzzleConstraintsValue = playablePuzzleConstraintsValue; }
public IPlayablePuzzleConstraintsValueVM(IPlayablePuzzleConstraintsValue value) { this.wrapped = value; }
public PuzzleConstraintsValueViewModel(IPlayablePuzzleConstraintsValue value) { this.playablePuzzleConstraintsValue = value; }
public ConstraintsValueViewModel(IPlayablePuzzleConstraintsValue constraintsValue) { this.constraintsValue = constraintsValue; }
public ConstrainstValueVM(IPlayablePuzzleConstraintsValue value) { this.value = value; }