public ITextProcessor Process(ISyntaxTree input) { var outp = new ExampleTextProcessor { Presentation = new[] { input.ToString() } }; return(outp); }
public ITextProcessor Process(Blanket input) { if (File.Exists(_inputFile)) { var source = new ExampleTextProcessor { Presentation = FileBuffer.GetLines(_inputFile) }; return(source); } throw new FileNotFoundException($"{nameof(ExampleFileReader)}: Файл \"{_inputFile}\" не найден"); }