예제 #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);
 }
예제 #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);
 }
예제 #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);
 }
예제 #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);
        }
예제 #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);
 }
예제 #6
0
 public ReserveCardsController()
 {
     this._reserveDecks = new List <ReserveDeck>();
     this._cardConfig   = new CardConfiguration();
 }
예제 #7
0
 public static void Seed(IDatabaseContext databaseContext)
 {
     CardConfiguration.Seed(databaseContext);
     UserConfiguration.Seed(databaseContext);
     DashboardConfiguration.Seed(databaseContext);
 }
예제 #8
0
 public void Construct(CardConfiguration cardConfiguration)
 {
     iconContainer.sprite = cardConfiguration.Icon;
     Punchline            = cardConfiguration.Punchline;
     _configuration       = cardConfiguration;
 }