3 references to RazorComponentResult
Microsoft.AspNetCore.Components.Endpoints (1)
Results\RazorComponentResultOfT.cs (1)
28
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] object parameters) :
base
(typeof(TComponent), parameters)
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
RazorComponentResultTest.cs (2)
28
Assert.Throws<ArgumentNullException>(() => new
RazorComponentResult
(typeof(SimpleComponent), (object)null));
45
var result = new
RazorComponentResult
(typeof(SimpleComponent), new { Param1 = 123, Param2 = "Another" });