public static void Initialize(IDblDipDbContext context, IEventStore store, IConfiguration configuration) { RoleConfiguration.Seed(store); SystemLocationConfiguration.Seed(store, configuration); CardConfiguration.Seed(store, context); UserConfiguration.Seed(context, store); DashboardConfiguration.Seed(context, store); }
public static void Initialize(IAppDbContext context, IConfiguration configuration) { RoleConfiguration.Seed(context, configuration); SystemLocationConfiguration.Seed(context, configuration); CardConfiguration.Seed(context, configuration); UserConfiguration.Seed(context, configuration); DashboardConfiguration.Seed(context, configuration); }
public GameTableController(Table table) { this._gameTable = table; this._cardConfig = new CardConfiguration(); this._reserveCardsController = new ReserveCardsController(); this._playerMovesQueue = new Queue <PlayerController>(); this._cardsOnTable = new Stack <Card>(); this._tablePlayers = new List <Player>(); this._trash = new TrashController(); this._actionsController = new GameActionsController(this, this._reserveCardsController); }
public static void Seed(AppDbContext context) { BehaviourTypeConfiguration.Seed(context); CardConfiguration.Seed(context); FrequencyTypeConfiguration.Seed(context); UserConfiguration.Seed(context); TagConfiguration.Seed(context); DashboardConfiguration.Seed(context); DashboardCardConfiguration.Seed(context); }
public static void Seed(AppDbContext context, IConfiguration configuration) { TenantConfiguration.Seed(context, configuration); CardConfiguration.Seed(context); CardLayoutConfiguration.Seed(context); UserConfiguration.Seed(context, configuration); TaxConfiguration.Seed(context); DriverConfiguration.Seed(context, configuration); ProductConfiguration.Seed(context); WarehouseConfiguration.Seed(context); InventoryItemConfiguration.Seed(context); HtmlContentConfiguration.Seed(context); DigitalAssetConfiguration.Seed(context); EmailTemplateConfiguration.Seed(context); VideoConfiguration.Seed(context); ProfessionalServiceProviderConfiguration.Seed(context); //DashboardConfiguration.Seed(context); }
public ReserveCardsController() { this._reserveDecks = new List <ReserveDeck>(); this._cardConfig = new CardConfiguration(); }
public static void Seed(IDatabaseContext databaseContext) { CardConfiguration.Seed(databaseContext); UserConfiguration.Seed(databaseContext); DashboardConfiguration.Seed(databaseContext); }
public void Construct(CardConfiguration cardConfiguration) { iconContainer.sprite = cardConfiguration.Icon; Punchline = cardConfiguration.Punchline; _configuration = cardConfiguration; }