4 instantiations of RendererInfo
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteRenderer.cs (1)
21private static readonly RendererInfo _componentPlatform = new("Server", isInteractive: true);
Microsoft.AspNetCore.Components.Web (1)
HtmlRendering\StaticHtmlRenderer.cs (1)
22private static readonly RendererInfo _componentPlatform = new RendererInfo("Static", isInteractive: false);
Microsoft.AspNetCore.Components.WebAssembly (1)
Rendering\WebAssemblyRenderer.cs (1)
28private static readonly RendererInfo _componentPlatform = new("WebAssembly", isInteractive: true);
Microsoft.AspNetCore.Components.WebView (1)
Services\WebViewRenderer.cs (1)
12private static readonly RendererInfo _componentPlatform = new("WebView", isInteractive: true);
13 references to RendererInfo
Microsoft.AspNetCore.Components (5)
ComponentBase.cs (2)
46/// Gets the <see cref="Components.RendererInfo"/> the component is running on. 48protected RendererInfo RendererInfo => _renderHandle.RendererInfo;
RenderHandle.cs (2)
55/// Gets the <see cref="Components.RendererInfo"/> the component is running on. 57public RendererInfo RendererInfo => _renderer?.RendererInfo ?? throw new InvalidOperationException("No renderer has been initialized.");
RenderTree\Renderer.cs (1)
159protected internal virtual RendererInfo RendererInfo { get; }
Microsoft.AspNetCore.Components.Server (2)
Circuits\RemoteRenderer.cs (2)
21private static readonly RendererInfo _componentPlatform = new("Server", isInteractive: true); 65protected override RendererInfo RendererInfo => _componentPlatform;
Microsoft.AspNetCore.Components.Web (2)
HtmlRendering\StaticHtmlRenderer.cs (2)
22private static readonly RendererInfo _componentPlatform = new RendererInfo("Static", isInteractive: false); 44protected internal override RendererInfo RendererInfo => _componentPlatform;
Microsoft.AspNetCore.Components.WebAssembly (2)
Rendering\WebAssemblyRenderer.cs (2)
28private static readonly RendererInfo _componentPlatform = new("WebAssembly", isInteractive: true); 88protected override RendererInfo RendererInfo => _componentPlatform;
Microsoft.AspNetCore.Components.WebView (2)
Services\WebViewRenderer.cs (2)
12private static readonly RendererInfo _componentPlatform = new("WebView", isInteractive: true); 35protected override RendererInfo RendererInfo => _componentPlatform;