コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PipeTableParser" /> class.
 /// </summary>
 /// <param name="lineBreakParser">The linebreak parser to use</param>
 /// <param name="options">The options.</param>
 public PipeTableParser(LineBreakInlineParser lineBreakParser, PipeTableOptions options = null)
 {
     if (lineBreakParser == null)
     {
         throw new ArgumentNullException(nameof(lineBreakParser));
     }
     this.lineBreakParser = lineBreakParser;
     OpeningCharacters    = new[] { '|', '\n' };
     Options = options ?? new PipeTableOptions();
 }
コード例 #2
0
ファイル: PipeTableExtension.cs プロジェクト: olesar/Altaxo
 /// <summary>
 /// Initializes a new instance of the <see cref="PipeTableExtension"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public PipeTableExtension(PipeTableOptions options = null)
 {
     Options = options ?? new PipeTableOptions();
 }
コード例 #3
0
ファイル: PipeTableParser.cs プロジェクト: Jither/markdig
 /// <summary>
 /// Initializes a new instance of the <see cref="PipeTableParser" /> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public PipeTableParser(PipeTableOptions options = null)
 {
     OpeningCharacters = new[] { '|', '\n' };
     Options           = options ?? new PipeTableOptions();
 }