public void Execute(Options options) { _options = options; if (_options.Verbose) _logger("Processing source file..."); ProcessSourceFile(); }
public void Visit(Parser visitable) { _options = visitable.Options; var posts = visitable.Items.Where(x => x.PostType == PostType.Post); foreach(var post in posts) { WriteMarkdownFile(post); } }
public Parser(Options options) { this.Options = options; }