Base:
method
GetContent
Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent.GetContent(System.Text.Encodings.Web.HtmlEncoder)
16 references to GetContent
Microsoft.AspNetCore.Razor (1)
TagHelpers\DefaultTagHelperContent.cs (1)
161
public override string GetContent() =>
GetContent
(HtmlEncoder.Default);
Microsoft.AspNetCore.Razor.Test (15)
TagHelpers\DefaultTagHelperContentTest.cs (15)
38
Assert.Equal(expected, tagHelperContent.
GetContent
(new HtmlTestEncoder()));
53
Assert.Equal(expected, tagHelperContent.
GetContent
(new HtmlTestEncoder()));
66
Assert.Equal("Hi", tagHelperContent.
GetContent
(new HtmlTestEncoder()));
80
Assert.Equal("Hello World!", tagHelperContent.
GetContent
(new HtmlTestEncoder()));
97
Assert.Equal(expected, copiedTagHelperContent.
GetContent
(new HtmlTestEncoder()));
228
Assert.Equal(expected, tagHelperContent.
GetContent
(new HtmlTestEncoder()));
243
tagHelperContent.
GetContent
(new HtmlTestEncoder()));
265
tagHelperContent.
GetContent
(new HtmlTestEncoder()));
281
Assert.Equal(expected, tagHelperContent.
GetContent
(new HtmlTestEncoder()));
300
Assert.Equal(expected, copiedTagHelperContent.
GetContent
(new HtmlTestEncoder()));
693
Assert.Equal(expected, tagHelperContent.
GetContent
(new HtmlTestEncoder()));
707
Assert.Equal(expected, tagHelperContent.
GetContent
(new HtmlTestEncoder()));
724
Assert.Equal(expected, tagHelperContent.
GetContent
(new HtmlTestEncoder()));
739
Assert.Equal(expected, tagHelperContent.
GetContent
(new HtmlTestEncoder()));
754
Assert.Equal(expected, tagHelperContent.
GetContent
(new HtmlTestEncoder()));