7 references to ToDictionary
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\SSRRenderModeBoundary.cs (1)
105_latestParameters = parameters.ToDictionary();
Microsoft.AspNetCore.Components.Tests (6)
CascadingParameterTest.cs (1)
1004LatestParameterView = parameters.ToDictionary();
ParameterViewTest.cs (4)
248Assert.Empty(collection.ToDictionary()); 265Assert.Equal(dictionary, collection.ToDictionary()); 281IReadOnlyDictionary<string, object> dict = parameters.ToDictionary(); 339Assert.Throws<InvalidOperationException>(() => parameterView.ToDictionary());
RendererTest.cs (1)
4461Assert.Throws<InvalidOperationException>(parameterView.ToDictionary);