1 override of AppendHtml
Microsoft.AspNetCore.Razor (1)
TagHelpers\DefaultTagHelperContent.cs (1)
85
public override TagHelperContent
AppendHtml
(string encoded)
76 references to AppendHtml
Microsoft.AspNetCore.Mvc.Razor.Test (2)
TagHelpers\TagHelperComponentTagHelperTest.cs (2)
359
output.PostContent.
AppendHtml
("Processed1");
381
output.PostContent.
AppendHtml
("Processed" + Order);
Microsoft.AspNetCore.Mvc.TagHelpers (36)
InputTagHelper.cs (3)
442
.
AppendHtml
("<input name=\"")
444
.
AppendHtml
("\" type=\"hidden\" value=\"")
446
.
AppendHtml
("\" />");
LinkTagHelper.cs (24)
354
.
AppendHtml
("<meta name=\"x-stylesheet-fallback-test\" content=\"\" class=\"")
356
.
AppendHtml
("\" />");
363
.
AppendHtml
("<script>")
364
.
AppendHtml
(JavaScriptResources.GetEmbeddedJavaScript(FallbackJavaScriptResourceName))
365
.
AppendHtml
("\"")
366
.
AppendHtml
(JavaScriptEncoder.Encode(FallbackTestProperty))
367
.
AppendHtml
("\",\"")
368
.
AppendHtml
(JavaScriptEncoder.Encode(FallbackTestValue))
369
.
AppendHtml
("\",");
373
builder.
AppendHtml
(", \"");
398
builder.
AppendHtml
(encodedScriptTags);
400
builder.
AppendHtml
("\");</script>");
433
builder.
AppendHtml
("[");
442
builder.
AppendHtml
(",\"");
446
builder.
AppendHtml
("\"");
464
builder.
AppendHtml
(valueToWrite);
465
builder.
AppendHtml
("\"");
467
builder.
AppendHtml
("]");
491
builder.
AppendHtml
("<link ");
510
builder.
AppendHtml
(" ");
519
builder.
AppendHtml
("/>");
526
.
AppendHtml
(hrefName)
527
.
AppendHtml
("=\"")
529
.
AppendHtml
("\" ");
ScriptTagHelper.cs (9)
358
builder.
AppendHtml
(Environment.NewLine)
359
.
AppendHtml
("<script>(")
360
.
AppendHtml
(FallbackTestExpression)
361
.
AppendHtml
("||document.write(\"");
406
builder.
AppendHtml
(encodedScriptTags);
408
builder.
AppendHtml
("\"));</script>");
482
builder.
AppendHtml
("<script");
493
builder.
AppendHtml
(" ");
508
builder.
AppendHtml
("></script>");
Microsoft.AspNetCore.Mvc.TagHelpers.Test (20)
InputTagHelperTest.cs (7)
97
output.Content.
AppendHtml
(originalContent);
144
output.Content.
AppendHtml
(content);
191
output.Content.
AppendHtml
(content);
235
output.Content.
AppendHtml
(content);
1174
output.PreContent.
AppendHtml
(expectedPreContent);
1175
output.Content.
AppendHtml
(originalContent);
1176
output.PostContent.
AppendHtml
(expectedPostContent);
LabelTagHelperTest.cs (3)
201
output.PreContent.
AppendHtml
(expectedPreContent);
202
output.PostContent.
AppendHtml
(expectedPostContent);
208
output.Content.
AppendHtml
(tagHelperOutputContent.OriginalContent);
SelectTagHelperTest.cs (9)
306
output.PreContent.
AppendHtml
(expectedPreContent);
307
output.Content.
AppendHtml
(expectedContent);
308
output.PostContent.
AppendHtml
(originalPostContent);
397
output.PreContent.
AppendHtml
(expectedPreContent);
398
output.Content.
AppendHtml
(expectedContent);
399
output.PostContent.
AppendHtml
(originalPostContent);
486
output.PreContent.
AppendHtml
(expectedPreContent);
487
output.Content.
AppendHtml
(expectedContent);
488
output.PostContent.
AppendHtml
(originalPostContent);
ValidationMessageTagHelperTest.cs (1)
329
output.Content.
AppendHtml
(outputContent);
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperContent.cs (1)
172
return
AppendHtml
(encoded);
Microsoft.AspNetCore.Razor.Test (5)
TagHelpers\TagHelperOutputTest.cs (5)
1111
output.PreElement.
AppendHtml
(preElement);
1116
output.PreContent.
AppendHtml
(preContent);
1121
output.Content.
AppendHtml
(content);
1126
output.PostContent.
AppendHtml
(postContent);
1131
output.PostElement.
AppendHtml
(postElement);
RazorWebSite (2)
Services\TestBodyTagHelperComponent.cs (1)
39
output.PostContent.
AppendHtml
(_html);
Services\TestHeadTagHelperComponent.cs (1)
16
output.PostContent.
AppendHtml
("<script>'This was injected!!'</script>");
TagHelpersWebSite (10)
TagHelpers\AutoLinkerTagHelper.cs (1)
17
output.Content.
AppendHtml
(Regex.Replace(
TagHelpers\BoldTagHelper.cs (2)
22
output.PreContent.
AppendHtml
("<b>");
23
output.PostContent.
AppendHtml
("</b>");
TagHelpers\CustomEncoderTagHelper.cs (1)
25
.
AppendHtml
("<br />");
TagHelpers\NestedViewImportsTagHelper.cs (1)
13
output.Content.
AppendHtml
("nested-content");
TagHelpers\RootViewStartTagHelper.cs (1)
13
output.Content.
AppendHtml
("root-content");
TagHelpers\SurroundTagHelper.cs (2)
26
output.PreElement.
AppendHtml
($"<{surroundingTagName}>");
27
output.PostElement.
AppendHtml
($"</{surroundingTagName}>");
TagHelpers\TagCloudViewComponentTagHelper.cs (1)
64
output.Content.
AppendHtml
(writer.ToString());
TagHelpers\WebsiteInformationTagHelper.cs (1)
17
output.PostContent.
AppendHtml
(string.Format(