public ClientTestUpdater(string serverId, int serverPort) { _serverConnectionService = new ServerConnectionService(serverId, serverPort); _subjectFileService = new SubjectFileService(ConfigContainer.GetConfig <ClientConfig>().SaveFolder); _platoonFileService = new PlatoonFileService(ConfigContainer.GetConfig <ClientConfig>().SaveFolder); var config = ConfigContainer.GetConfig <ClientConfig>(); _clientTestFileService = new ClientTestFileService(config.TestFolder, config.ImageFolder); }
public PlatoonWorker(string savePath) { _platoonFileService = new PlatoonFileService(savePath); _platoons = _platoonFileService.Load(); }
public GetPlatoonsHandler(StreamWrapperService streamWrapperService) { _streamWrapperService = streamWrapperService; _platoonFileService = new PlatoonFileService(ConfigContainer.GetConfig <ServerConfig>().SaveFolder); }