6 references to RazorComponentResult
Microsoft.AspNetCore.Components.Endpoints (3)
Results\RazorComponentResult.cs (2)
26
:
this
(componentType, ReadOnlyDictionary<string, object?>.Empty)
38
:
this
(componentType, CoerceParametersObjectToDictionary(parameters))
Results\RazorComponentResultOfT.cs (1)
36
public RazorComponentResult(IReadOnlyDictionary<string, object?> parameters) :
base
(typeof(TComponent), parameters)
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
RazorComponentResultTest.cs (3)
29
Assert.Throws<ArgumentNullException>(() => new
RazorComponentResult
(typeof(SimpleComponent), null));
36
var result = new
RazorComponentResult
(typeof(SimpleComponent), paramsDict);
431
var result = new
RazorComponentResult
(typeof(VaryStreamingScenarios), parameters);