Base:
method
GetContent
Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent.GetContent()
9 references to GetContent
Microsoft.AspNetCore.Mvc.Razor.Test (1)
RazorPageTest.cs (1)
201
Assert.Equal("HtmlEncode[[Hello World!]]", content.
GetContent
());
Microsoft.AspNetCore.Razor (1)
TagHelpers\DefaultTagHelperContent.cs (1)
299
return
GetContent
();
Microsoft.AspNetCore.Razor.Test (7)
TagHelpers\DefaultTagHelperContentTest.cs (7)
24
Assert.Equal(string.Empty, tagHelperContent.
GetContent
());
165
Assert.Equal(string.Empty, source.
GetContent
());
192
Assert.Equal(string.Empty, source.
GetContent
());
193
Assert.Equal(string.Empty, nested.
GetContent
());
211
var actual = tagHelperContent.
GetContent
();
402
Assert.True(tagHelperContent.
GetContent
().Length > 0);
623
Assert.Equal(string.Empty, tagHelperContent.
GetContent
());