public CustomBoardViewModel(int width = 9, int height = 9, int mines = 10)
 {
     this.width = width;
     this.height = height;
     this.mines = mines;
     this.validator = MinesweeperBoardValidator.Create();
     this.saveCustomBoardCommand = new Command(this.OnSaveCustomBoard, () => this.IsValid);
 }
 public CustomBoardViewModel(int width = 9, int height = 9, int mines = 10)
 {
     this.width     = width;
     this.height    = height;
     this.mines     = mines;
     this.validator = MinesweeperBoardValidator.Create();
     this.saveCustomBoardCommand = new Command(this.OnSaveCustomBoard, () => this.IsValid);
 }
 static MinesweeperBoardValidator()
 {
     MinesweeperBoardValidator.defaultMinesweeperBoardValidator = new MinesweeperBoardValidator();
 }
 static MinesweeperBoardValidator()
 {
     MinesweeperBoardValidator.defaultMinesweeperBoardValidator = new MinesweeperBoardValidator();
 }