8 references to RazorComponentResult
Microsoft.AspNetCore.Components.Endpoints (1)
Results\RazorComponentResultOfT.cs (1)
19public RazorComponentResult() : base(typeof(TComponent))
Microsoft.AspNetCore.Components.Endpoints.Tests (7)
RazorComponentResultTest.cs (7)
217await new RazorComponentResult(typeof(ComponentWithLayout)).ExecuteAsync(httpContext); 230await new RazorComponentResult(typeof(ComponentThatRedirectsSynchronously)).ExecuteAsync(httpContext); 247var result = new RazorComponentResult(typeof(StreamingComponentThatRedirectsAsynchronously)) 267await new RazorComponentResult(typeof(StreamingComponentThatRedirectsAsynchronously)).ExecuteAsync(httpContext); 287new RazorComponentResult(typeof(ComponentThatThrowsSynchronously)).ExecuteAsync(httpContext)); 301() => new RazorComponentResult(typeof(StreamingComponentThatThrowsAsynchronously)) { PreventStreamingRendering = true } 324() => new RazorComponentResult(typeof(StreamingComponentThatThrowsAsynchronously))