File: Infrastructure\TextNode.cs
Web Access
Project: src\src\Components\WebView\WebView\test\Microsoft.AspNetCore.Components.WebView.Test.csproj (Microsoft.AspNetCore.Components.WebView.Test)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Components.WebView.Document;
 
internal class TextNode : TestNode
{
    public TextNode(string textContent)
    {
        Text = textContent;
    }
 
    public string Text { get; set; }
}