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)
36public RazorComponentResult(IReadOnlyDictionary<string, object?> parameters) : base(typeof(TComponent), parameters)
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
RazorComponentResultTest.cs (3)
29Assert.Throws<ArgumentNullException>(() => new RazorComponentResult(typeof(SimpleComponent), null)); 36var result = new RazorComponentResult(typeof(SimpleComponent), paramsDict); 431var result = new RazorComponentResult(typeof(VaryStreamingScenarios), parameters);