public GameService( TablesCollection tablesCollection, IMapper mapper) { _allTables = tablesCollection.Tables; _mapper = mapper; }
public GameHub( TablesCollection tablesCollection, IGameService gameService, IGameProcessManager gameProcessManager, ILogger <GameHub> logger) { _allTables = tablesCollection.Tables; _gameProcessManager = gameProcessManager; _gameService = gameService; _logger = logger; }
public GameProcessManager( TablesCollection tablesCollection, IGameService gameService, IHubContext <GameHub> hubContext, IMapper mapper, ILogger <GameHub> logger) { _allTables = tablesCollection.Tables; _hub = hubContext; _gameService = gameService; _mapper = mapper; _logger = logger; }
private void CheckForCharAsBooleans() { TablesCollection classTables = configuration.Tables; foreach (TablesElement tables in classTables) { if (name == tables.Name && owner == tables.Owner && !Compare.IsNullOrEmpty(tables.CharAsBooleanColumns)) { foreach (string item in tables.CharAsBooleanColumns.Split(';')) { CharAsBooleans.Add(item, null); } break; } } }
public TablesManager() { m_accessPath = new DataAccessPath(this); m_tablesProxy = new TablesCollection(this); m_dataFactory = new DatumFactory(); var tablesFolder = SettingsManager.TablesFolder; m_suppliers = new DataSuppliersTable(Path.Combine(tablesFolder, "splr")); m_units = new UnitsTable(Path.Combine(tablesFolder, "unit")); m_countries = new CountriesTable(Path.Combine(tablesFolder, "ctry")); m_incoterms = new IncotermsTable(Path.Combine(tablesFolder, "ict")); m_places = new PlacesTable(Path.Combine(tablesFolder, "place")); m_currencies = new CurrenciesTable(Path.Combine(tablesFolder, "cncy")); m_valContexts = new ValuesContextsTable(Path.Combine(tablesFolder, "vctxt")); m_products = new ProductsTable(Path.Combine(tablesFolder, "prod")); m_sharedTexts = new SharedTextsTable(Path.Combine(tablesFolder, "stxt")); m_spotValues = new SpotValuesTable(Path.Combine(tablesFolder, "sval")); }