25 implementations of IComponent
Microsoft.AspNetCore.Components (9)
Microsoft.AspNetCore.Components.Endpoints (6)
Microsoft.AspNetCore.Components.Media (1)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.Web (5)
Microsoft.AspNetCore.Components.WebView.Maui (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
148 references to IComponent
Microsoft.AspNetCore.Components (70)
RenderTree\Renderer.cs (18)
35private readonly Dictionary<IComponent, ComponentState> _componentStateByComponent = new Dictionary<IComponent, ComponentState>();
185protected internal virtual IComponentRenderMode? GetComponentRenderMode(IComponent component)
192/// Resolves the component state for a given <see cref="IComponent"/> instance.
194/// <param name="component">The <see cref="IComponent"/> instance</param>
196protected internal ComponentState GetComponentState(IComponent component)
246protected IComponent InstantiateComponent([DynamicallyAccessedMembers(Component)] Type componentType)
250/// Associates the <see cref="IComponent"/> with the <see cref="Renderer"/>, assigning
256protected internal int AssignRootComponentId(IComponent component)
289/// <param name="componentId">The ID returned by <see cref="AssignRootComponentId(IComponent)"/>.</param>
308/// <param name="componentId">The ID returned by <see cref="AssignRootComponentId(IComponent)"/>.</param>
418private ComponentState AttachAndInitComponent(IComponent component, int parentComponentId)
428internal void RegisterComponentState(IComponent component, int componentId, ComponentState componentState)
443protected virtual ComponentState CreateComponentState(int componentId, IComponent component, ComponentState? parentComponentState)
522if (callback.Receiver is IComponent receiverComponent) // The receiver might be null or not an IComponent
634var newComponent = _componentFactory.InstantiateComponent(_serviceProvider, frame.ComponentTypeField, callerSpecifiedRenderMode, parentComponentId);
1360/// <returns>An <see cref="IComponent"/> instance.</returns>
1361protected internal virtual IComponent ResolveComponentForRenderMode(
Microsoft.AspNetCore.Components.CustomElements (1)
Microsoft.AspNetCore.Components.Endpoints (21)
Microsoft.AspNetCore.Components.Media (2)
Microsoft.AspNetCore.Components.Server (4)
Microsoft.AspNetCore.Components.Web (24)
Microsoft.AspNetCore.Components.WebAssembly (13)
Microsoft.AspNetCore.Components.WebView (2)
Microsoft.AspNetCore.Components.WebView.Maui (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (6)
Microsoft.AspNetCore.Components.WebView.Wpf (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)