1 override of AppendHtml
Microsoft.AspNetCore.Razor (1)
TagHelpers\DefaultTagHelperContent.cs (1)
85public override TagHelperContent AppendHtml(string encoded)
76 references to AppendHtml
Microsoft.AspNetCore.Mvc.Razor.Test (2)
TagHelpers\TagHelperComponentTagHelperTest.cs (2)
359output.PostContent.AppendHtml("Processed1"); 381output.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("\","); 373builder.AppendHtml(", \""); 398builder.AppendHtml(encodedScriptTags); 400builder.AppendHtml("\");</script>"); 433builder.AppendHtml("["); 442builder.AppendHtml(",\""); 446builder.AppendHtml("\""); 464builder.AppendHtml(valueToWrite); 465builder.AppendHtml("\""); 467builder.AppendHtml("]"); 491builder.AppendHtml("<link "); 510builder.AppendHtml(" "); 519builder.AppendHtml("/>"); 526.AppendHtml(hrefName) 527.AppendHtml("=\"") 529.AppendHtml("\" ");
ScriptTagHelper.cs (9)
358builder.AppendHtml(Environment.NewLine) 359.AppendHtml("<script>(") 360.AppendHtml(FallbackTestExpression) 361.AppendHtml("||document.write(\""); 406builder.AppendHtml(encodedScriptTags); 408builder.AppendHtml("\"));</script>"); 482builder.AppendHtml("<script"); 493builder.AppendHtml(" "); 508builder.AppendHtml("></script>");
Microsoft.AspNetCore.Mvc.TagHelpers.Test (20)
InputTagHelperTest.cs (7)
97output.Content.AppendHtml(originalContent); 144output.Content.AppendHtml(content); 191output.Content.AppendHtml(content); 235output.Content.AppendHtml(content); 1174output.PreContent.AppendHtml(expectedPreContent); 1175output.Content.AppendHtml(originalContent); 1176output.PostContent.AppendHtml(expectedPostContent);
LabelTagHelperTest.cs (3)
201output.PreContent.AppendHtml(expectedPreContent); 202output.PostContent.AppendHtml(expectedPostContent); 208output.Content.AppendHtml(tagHelperOutputContent.OriginalContent);
SelectTagHelperTest.cs (9)
306output.PreContent.AppendHtml(expectedPreContent); 307output.Content.AppendHtml(expectedContent); 308output.PostContent.AppendHtml(originalPostContent); 397output.PreContent.AppendHtml(expectedPreContent); 398output.Content.AppendHtml(expectedContent); 399output.PostContent.AppendHtml(originalPostContent); 486output.PreContent.AppendHtml(expectedPreContent); 487output.Content.AppendHtml(expectedContent); 488output.PostContent.AppendHtml(originalPostContent);
ValidationMessageTagHelperTest.cs (1)
329output.Content.AppendHtml(outputContent);
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperContent.cs (1)
172return AppendHtml(encoded);
Microsoft.AspNetCore.Razor.Test (5)
TagHelpers\TagHelperOutputTest.cs (5)
1112output.PreElement.AppendHtml(preElement); 1117output.PreContent.AppendHtml(preContent); 1122output.Content.AppendHtml(content); 1127output.PostContent.AppendHtml(postContent); 1132output.PostElement.AppendHtml(postElement);
RazorWebSite (2)
Services\TestBodyTagHelperComponent.cs (1)
39output.PostContent.AppendHtml(_html);
Services\TestHeadTagHelperComponent.cs (1)
16output.PostContent.AppendHtml("<script>'This was injected!!'</script>");
TagHelpersWebSite (10)
TagHelpers\AutoLinkerTagHelper.cs (1)
17output.Content.AppendHtml(Regex.Replace(
TagHelpers\BoldTagHelper.cs (2)
22output.PreContent.AppendHtml("<b>"); 23output.PostContent.AppendHtml("</b>");
TagHelpers\CustomEncoderTagHelper.cs (1)
25.AppendHtml("<br />");
TagHelpers\NestedViewImportsTagHelper.cs (1)
13output.Content.AppendHtml("nested-content");
TagHelpers\RootViewStartTagHelper.cs (1)
13output.Content.AppendHtml("root-content");
TagHelpers\SurroundTagHelper.cs (2)
26output.PreElement.AppendHtml($"<{surroundingTagName}>"); 27output.PostElement.AppendHtml($"</{surroundingTagName}>");
TagHelpers\TagCloudViewComponentTagHelper.cs (1)
64output.Content.AppendHtml(writer.ToString());
TagHelpers\WebsiteInformationTagHelper.cs (1)
17output.PostContent.AppendHtml(string.Format(