4 instantiations of RendererInfo
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteRenderer.cs (1)
22private 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)
32private static readonly RendererInfo _componentPlatform = new("WebAssembly", isInteractive: true);
Microsoft.AspNetCore.Components.WebView (1)
Services\WebViewRenderer.cs (1)
14private 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)
60/// Gets the <see cref="Components.RendererInfo"/> the component is running on. 62public RendererInfo RendererInfo => _renderer?.RendererInfo ?? throw new InvalidOperationException("No renderer has been initialized.");
RenderTree\Renderer.cs (1)
202protected internal virtual RendererInfo RendererInfo { get; }
Microsoft.AspNetCore.Components.Server (2)
Circuits\RemoteRenderer.cs (2)
22private static readonly RendererInfo _componentPlatform = new("Server", isInteractive: true); 66protected override RendererInfo RendererInfo => _componentPlatform;
Microsoft.AspNetCore.Components.Web (2)
HtmlRendering\StaticHtmlRenderer.cs (2)
22private static readonly RendererInfo _componentPlatform = new RendererInfo("Static", isInteractive: false); 43protected internal override RendererInfo RendererInfo => _componentPlatform;
Microsoft.AspNetCore.Components.WebAssembly (2)
Rendering\WebAssemblyRenderer.cs (2)
32private static readonly RendererInfo _componentPlatform = new("WebAssembly", isInteractive: true); 116protected override RendererInfo RendererInfo => _componentPlatform;
Microsoft.AspNetCore.Components.WebView (2)
Services\WebViewRenderer.cs (2)
14private static readonly RendererInfo _componentPlatform = new("WebView", isInteractive: true); 37protected override RendererInfo RendererInfo => _componentPlatform;