コード例 #1
0
        public void Handle(Command command)
        {
            var saveFolder = ConfigContainer.GetConfig <ServerConfig>().SaveFolder;
            var imageDevidedFileService = new ImageDevidedFileService(saveFolder);
            var informationObjects      = imageDevidedFileService.GetInformationObjects();

            _streamWrapperService.SendObject(informationObjects);
        }
コード例 #2
0
ファイル: GetTestsHandler.cs プロジェクト: Voenkaff/Test
        public void Handle(Command command)
        {
            var saveFolder             = ConfigContainer.GetConfig <ServerConfig>().SaveFolder;
            var testDevidedFileService = new TestDevidedFileService(saveFolder);
            var tests = testDevidedFileService.Load();

            _streamWrapperService.SendObject(tests);
        }
コード例 #3
0
        public void Handle(Command command)
        {
            var subjects = _platoonFileService.Load();

            _streamWrapperService.SendObject(subjects);
        }