public DataAnalysisResult(string result, DataAnalysisResultType type) { if (result == null) { throw new ArgumentNullException(nameof(result)); } _result = result; _type = type; }
public FileDataReaderCommand( string fileToRead, DataAnalysisResultType type, RepositoryDestination repositoryDestination) { if (fileToRead == null) { throw new ArgumentNullException(nameof(fileToRead)); } _fileToRead = fileToRead; _type = type; _repositoryDestination = repositoryDestination; }
private CommandVisitorPipe CreateFileDataReaderPipe( string fileToRead, DataAnalysisResultType type, RepositoryDestination destination) => new CommandVisitorPipe( new FileDataReaderCommand(fileToRead, type, destination));