コード例 #1
0
 /// Creates an object that builds a [Widget] tree from parsed Markdown.
 public MarkdownBuilder(IMarkdownBuilderDelegate myDelegate, markdown.MarkdownStyleSheet styleSheet,
     string imgDir)
 {
     this.myDelegate = myDelegate;
     this.styleSheet = styleSheet;
     this.imageDirectory = imgDir;
 }
コード例 #2
0
 public MarkdownBuilder(
     IMarkdownBuilderDelegate dele,
     bool selectable,
     MarkdownStyleSheet styleSheet,
     string imageDirectory,
     MarkdownImageBuilder imageBuilder,
     MarkdownCheckboxBuilder checkboxBuilder,
     bool fitContent = false
     )
 {
     this.builderDelegate = dele;
     this.selectable      = selectable;
     this.styleSheet      = styleSheet;
     this.imageDirectory  = imageDirectory;
     this.imageBuilder    = imageBuilder;
     this.checkboxBuilder = checkboxBuilder;
     this.fitContent      = fitContent;
 }