private IEnumerable <string> BeginSnippetLine(XmlSnippet snippet) => new[] { this.BeginSnippetStatement(snippet) };
private string BeginSnippetStatement(XmlSnippet snippet) => $"snippet {snippet.Number:00} until {this.EndSnippet}";
private IEnumerable <string> GetScriptLines(XmlSnippet snippet) => this.BeginSnippetLine(snippet) .Concat(snippet.CodeLines.AppendToLast(this.EndSnippet));