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