58 references to Empty
Microsoft.AspNetCore.Components (3)
ParameterView.cs (1)
120return Empty;
Rendering\ComponentState.cs (1)
222: ParameterView.Empty;
RenderTree\Renderer.cs (1)
246return RenderRootComponentAsync(componentId, ParameterView.Empty);
Microsoft.AspNetCore.Components.Authorization.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
63var task = Dispatcher.InvokeAsync(() => base.RenderRootComponentAsync(componentId, parameters ?? ParameterView.Empty));
Microsoft.AspNetCore.Components.Endpoints (2)
RazorComponentEndpointInvoker.cs (1)
94ParameterView.Empty,
Rendering\SSRRenderModeBoundary.cs (1)
162? ParameterView.Empty
Microsoft.AspNetCore.Components.Endpoints.Tests (20)
EndpointHtmlRendererTest.cs (18)
57var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), new InteractiveWebAssemblyRenderMode(prerender: false), ParameterView.Empty); 80var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), RenderMode.InteractiveWebAssembly, ParameterView.Empty); 287var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), null, ParameterView.Empty); 304var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), new InteractiveServerRenderMode(false), ParameterView.Empty); 336var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), RenderMode.InteractiveServer, ParameterView.Empty); 397var firstResult = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), new InteractiveServerRenderMode(true), ParameterView.Empty); 401var secondResult = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), new InteractiveServerRenderMode(false), ParameterView.Empty); 818var result = await renderer.PrerenderComponentAsync(httpContext, typeof(AsyncComponent), null, ParameterView.Empty); 842await renderer.Dispatcher.InvokeAsync(() => renderer.BeginRenderingComponent(component, ParameterView.Empty).QuiescenceTask); 893await renderer.RenderEndpointComponent(httpContext, typeof(NamedEventHandlerComponent), ParameterView.Empty, true); 922await renderer.RenderEndpointComponent(httpContext, typeof(NamedEventHandlerComponent), ParameterView.Empty, true); 946var result = await renderer.Dispatcher.InvokeAsync(() => renderer.BeginRenderingComponent(component, ParameterView.Empty)); 989var result = await renderer.Dispatcher.InvokeAsync(() => renderer.BeginRenderingComponent(component, ParameterView.Empty)); 1026await renderer.RenderEndpointComponent(httpContext, typeof(EmptyComponent), ParameterView.Empty, true); 1027await renderer.BeginRenderingComponent(component, ParameterView.Empty).QuiescenceTask; 1058var result = await renderer.PrerenderComponentAsync(httpContext, typeof(ComponentWithInteractiveChildren), null, ParameterView.Empty); 1162ParameterView.Empty); 1396await renderer.Dispatcher.InvokeAsync(() => renderer.RenderRootComponentAsync(id, ParameterView.Empty));
ImportMapTest.cs (1)
296var task = Dispatcher.InvokeAsync(() => base.RenderRootComponentAsync(componentId, parameters ?? ParameterView.Empty));
src\Components\Shared\src\WebRootComponentParameters.cs (1)
13public static readonly WebRootComponentParameters Empty = new(ParameterView.Empty, [], []);
Microsoft.AspNetCore.Components.Forms.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
63var task = Dispatcher.InvokeAsync(() => base.RenderRootComponentAsync(componentId, parameters ?? ParameterView.Empty));
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\WebRootComponentParameters.cs (1)
13public static readonly WebRootComponentParameters Empty = new(ParameterView.Empty, [], []);
Microsoft.AspNetCore.Components.Server.Tests (6)
Circuits\CircuitHostTest.cs (2)
228Parameters = ParameterView.Empty, 680parameters is null ? ParameterView.Empty : ParameterView.FromDictionary(parameters));
Circuits\ServerComponentDeserializerTest.cs (4)
455parameters is null ? ParameterView.Empty : ParameterView.FromDictionary(parameters)); 466serializer.SerializeInvocation(ref markers[i], _invocationSequence, types[i], ParameterView.Empty); 484parameters == null ? ParameterView.Empty : ParameterView.FromDictionary(parameters)); 497serializer.SerializeInvocation(ref markers[i], sequence, types[i], ParameterView.Empty);
Microsoft.AspNetCore.Components.Tests (6)
DynamicComponentTest.cs (1)
36() => renderer.RenderRootComponent(componentId, ParameterView.Empty));
LayoutViewTest.cs (1)
27var setParametersTask = _renderer.Dispatcher.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.Empty));
ParameterViewTest.cs (1)
350var initial = ParameterView.Empty;
RendererTest.cs (1)
372_ = renderer.RenderRootComponentAsync(componentId.Value, ParameterView.Empty);
RouteViewTest.cs (1)
38_ = _routeViewComponent.SetParametersAsync(ParameterView.Empty);
src\Components\Shared\test\TestRenderer.cs (1)
63var task = Dispatcher.InvokeAsync(() => base.RenderRootComponentAsync(componentId, parameters ?? ParameterView.Empty));
Microsoft.AspNetCore.Components.Web (5)
Forms\InputBase.cs (1)
270return base.SetParametersAsync(ParameterView.Empty);
HtmlRendering\HtmlRenderer.cs (4)
52=> _passiveHtmlRenderer.BeginRenderingComponent(typeof(TComponent), ParameterView.Empty); 77=> _passiveHtmlRenderer.BeginRenderingComponent(componentType, ParameterView.Empty); 100=> RenderComponentAsync<TComponent>(ParameterView.Empty); 110=> RenderComponentAsync(componentType, ParameterView.Empty);
Microsoft.AspNetCore.Components.Web.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
63var task = Dispatcher.InvokeAsync(() => base.RenderRootComponentAsync(componentId, parameters ?? ParameterView.Empty));
Microsoft.AspNetCore.Components.WebAssembly (3)
Hosting\RootComponentMapping.cs (1)
35Parameters = ParameterView.Empty;
Hosting\RootComponentMappingCollection.cs (1)
38Add(componentType, selector, ParameterView.Empty);
src\Components\Shared\src\WebRootComponentParameters.cs (1)
13public static readonly WebRootComponentParameters Empty = new(ParameterView.Empty, [], []);
Microsoft.AspNetCore.Components.WebView.Photino (1)
BlazorWindowRootComponents.cs (1)
32? ParameterView.Empty
Microsoft.AspNetCore.Components.WebView.Test (6)
WebViewManagerTests.cs (6)
17await webViewManager.AddRootComponentAsync(typeof(MyComponent), "#app", ParameterView.Empty); 44await webViewManager.AddRootComponentAsync(typeof(MyComponent), "#app", ParameterView.Empty); 59await webViewManager.AddRootComponentAsync(typeof(MyComponent), "#app", ParameterView.Empty); 90await webViewManager.AddRootComponentAsync(typeof(MyComponentUsingScopedAsyncDisposableService), "#app", ParameterView.Empty); 105await webViewManager.AddRootComponentAsync(typeof(MyComponent), arbitraryComponentSelector, ParameterView.Empty); 108var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await webViewManager.AddRootComponentAsync(typeof(MyComponent), arbitraryComponentSelector, ParameterView.Empty));
Microsoft.AspNetCore.Mvc.TagHelpers (1)
ComponentTagHelper.cs (1)
98var parameters = _parameters is null || _parameters.Count == 0 ? ParameterView.Empty : ParameterView.FromDictionary(_parameters);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Rendering\HtmlHelperComponentExtensions.cs (1)
59ParameterView.Empty :