コード例 #1
0
ファイル: TextBlock.cs プロジェクト: vinhins/ConsoleTools
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBlock"/> class
 /// with the text to be displayed.
 /// </summary>
 public TextBlock(string text)
 {
     Text = text;
 }
コード例 #2
0
ファイル: TextBlock.cs プロジェクト: vinhins/ConsoleTools
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBlock"/> class
 /// with the text to be displayed.
 /// </summary>
 public TextBlock(MultilineText text)
 {
     Text = text;
 }