Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
        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);
        }
Exemplo n.º 5
0
 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);
 }
Exemplo n.º 6
0
 public ReserveCardsController()
 {
     this._reserveDecks = new List <ReserveDeck>();
     this._cardConfig   = new CardConfiguration();
 }
Exemplo n.º 7
0
 public static void Seed(IDatabaseContext databaseContext)
 {
     CardConfiguration.Seed(databaseContext);
     UserConfiguration.Seed(databaseContext);
     DashboardConfiguration.Seed(databaseContext);
 }
Exemplo n.º 8
0
 public void Construct(CardConfiguration cardConfiguration)
 {
     iconContainer.sprite = cardConfiguration.Icon;
     Punchline            = cardConfiguration.Punchline;
     _configuration       = cardConfiguration;
 }