Example #1
0
        public void Execute(Options options)
        {
            _options = options;

            if (_options.Verbose)
                _logger("Processing source file...");

            ProcessSourceFile();
        }
Example #2
0
 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);
     }
 }
Example #3
0
 public Parser(Options options)
 {
     this.Options = options;
 }