public ProfileDirector(IDao <Profile> profileDao, IConfigDao <BasicConfig> basicDao, IConfigDao <ServerConfig> serverDao, IConfigDao <ArmaProfile> armaProfileDao, IDao <Modification> modDao, GameLocationFinder locationFinder) { _profileDao = profileDao; _basicDao = basicDao; _serverDao = serverDao; _armaProfileDao = armaProfileDao; _modDao = modDao; _locationFinder = locationFinder; }
public ConfigDataHandler(string outputManagerID, System.Diagnostics.TraceSource trace) { _trace = trace; _outputManagerID = outputManagerID; ConnectionStringSettings settings = ConfigurationManager.ConnectionStrings[schemaName]; string connectionString = settings.ConnectionString; _configDataAccess = PolicyInjection.Create <ConfigDao_Oracle, IConfigDao>(connectionString); UpdateConfiguration(true); ThreadPool.QueueUserWorkItem(UpdateCheckerThread); }
public ConfigOperations() { dao = new ConfigDao(); }