private void CreateHelpers(IReadOnlyList <string> query) { _inputStorage = StorageFactory.GetInputStorage(_inputStorageType, query[1]); _outputStorage = StorageFactory.GetOutputStorage(_outputStorageType, query[2]); _threadHelper = new ThreadHelper(); _maxCountEvent = new MaximumCountEvent(ClusterSize); }
public ScriptAPI(IInputStorage inputStorage) { InputStorage = inputStorage; ReturnValue = new ScriptReturnValue(); }
public InputController(IInputStorage inputManager) { InputManager = inputManager; }
public ExecuteController(IInputStorage inputManager, IWebHostEnvironment webHostEnvironment) { InputManager = inputManager; WebHostEnvironment = webHostEnvironment; }
public CompressedFile(IInputStorage inputStorage, ResultFile resultFile, Compressor decompressor) { _inputStorage = inputStorage; _resultFile = resultFile; _decompressor = decompressor; }
public SourceFile(IInputStorage inputStorage, ResultFile resultFile, Compressor compressor) { _inputStorage = inputStorage; _resultFile = resultFile; _compressor = compressor; }