Esempio n. 1
0
 /// <summary>
 /// Changes <see cref="TagHelperOutput"/> to generate nothing.
 /// </summary>
 /// <remarks>
 /// Sets <see cref="TagName"/> to <c>null</c>, and clears <see cref="PreContent"/>, <see cref="Content"/>,
 /// and <see cref="PostContent"/> to suppress output.
 /// </remarks>
 public void SuppressOutput()
 {
     TagName = null;
     PreContent.Clear();
     Content.Clear();
     PostContent.Clear();
 }
Esempio n. 2
0
 public void SetPostContentText(string text)
 {
     PostContent.Clear();
     PostContent.SendKeys(text);
 }