28 references to TextContent
Microsoft.AspNetCore.Components.Authorization.Tests (3)
src\Components\Shared\test\AssertFrame.cs (3)
21Assert.Equal(textContent, frame.TextContent); 113Assert.True(string.IsNullOrWhiteSpace(frame.TextContent)); 120Assert.True(string.IsNullOrWhiteSpace(frame.TextContent));
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
ImportMapTest.cs (4)
76Assert.Equal(importMapDefinition.ToJson(), frames.Array[3].TextContent); 121Assert.Equal(importMapDefinition.ToJson(), frames.Array[2].TextContent); 186Assert.Equal(otherImportMapDefinition.ToJson(), frames.Array[2].TextContent); 245Assert.Equal(importMapDefinition.ToJson(), frames.Array[2].TextContent);
Microsoft.AspNetCore.Components.Forms.Tests (3)
src\Components\Shared\test\AssertFrame.cs (3)
21Assert.Equal(textContent, frame.TextContent); 113Assert.True(string.IsNullOrWhiteSpace(frame.TextContent)); 120Assert.True(string.IsNullOrWhiteSpace(frame.TextContent));
Microsoft.AspNetCore.Components.Server (2)
src\Components\Shared\src\RenderBatchWriter.cs (2)
192frame.TextContent, 193allowDeduplication: string.IsNullOrWhiteSpace(frame.TextContent));
Microsoft.AspNetCore.Components.Tests (8)
RenderTreeDiffBuilderTest.cs (2)
2010Assert.Equal("First modified", referenceFrames[entry.ReferenceFrameIndex].TextContent); 2190Assert.Equal("some text", referenceFrames[entry.ReferenceFrameIndex].TextContent);
Routing\RouterTest.cs (3)
199Assert.Equal($"Rendering route matching {typeof(MultiSegmentRouteComponent)}", renderedFrame.TextContent); 245Assert.Equal("Custom content", renderedFrame.TextContent); 265Assert.Equal("Not found", renderedFrame.TextContent);
src\Components\Shared\test\AssertFrame.cs (3)
21Assert.Equal(textContent, frame.TextContent); 113Assert.True(string.IsNullOrWhiteSpace(frame.TextContent)); 120Assert.True(string.IsNullOrWhiteSpace(frame.TextContent));
Microsoft.AspNetCore.Components.Web (1)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (1)
84_htmlEncoder.Encode(output, frame.TextContent);
Microsoft.AspNetCore.Components.Web.Tests (3)
src\Components\Shared\test\AssertFrame.cs (3)
21Assert.Equal(textContent, frame.TextContent); 113Assert.True(string.IsNullOrWhiteSpace(frame.TextContent)); 120Assert.True(string.IsNullOrWhiteSpace(frame.TextContent));
Microsoft.AspNetCore.Components.WebView (2)
src\Components\Shared\src\RenderBatchWriter.cs (2)
192frame.TextContent, 193allowDeduplication: string.IsNullOrWhiteSpace(frame.TextContent));
Microsoft.AspNetCore.Components.WebView.Test (2)
Infrastructure\TestDocument.cs (2)
141textNode.Text = frame.TextContent; 255var textContent = frame.TextContent;