public void CreateTestData() { this.DeleteTestData(); var blackBox = new FileBlackBox("CardStore"); this.provider = new EventstoreBoardprovider(blackBox); }
/// <summary> /// Initializes a new instance of the <see cref="BoardController"/> class. /// </summary> /// <param name="board"> /// The board. /// </param> /// <param name="provider"> /// The provider. /// </param> /// <param name="portal"> /// The portal. /// </param> public BoardController2(IBoard2 board, IBoardProvider2 provider) { this._board = board; this._provider = provider; }
private static void Start(IBoardProvider2 prov, IBoardPortal portal) { var cards = prov.Load_all_cards(); portal.Display_cards(cards); }