82 implementations of IComponent
BasicTestApp (8)
Microsoft.AspNetCore.Components (9)
Microsoft.AspNetCore.Components.Authorization.Tests (1)
Microsoft.AspNetCore.Components.Endpoints (3)
Microsoft.AspNetCore.Components.Endpoints.Tests (7)
Microsoft.AspNetCore.Components.Forms.Tests (1)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.Server.Tests (10)
Microsoft.AspNetCore.Components.Tests (32)
Microsoft.AspNetCore.Components.Web (3)
Microsoft.AspNetCore.Components.Web.Tests (5)
Microsoft.AspNetCore.Components.WebView.Test (2)
205 references to IComponent
Microsoft.AspNetCore.Components (65)
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Microsoft.AspNetCore.Components.Authorization.Tests (9)
Microsoft.AspNetCore.Components.CustomElements (1)
Microsoft.AspNetCore.Components.Endpoints (15)
Microsoft.AspNetCore.Components.Endpoints.Tests (11)
Microsoft.AspNetCore.Components.Forms.Tests (9)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Microsoft.AspNetCore.Components.Server (2)
Microsoft.AspNetCore.Components.Server.Tests (2)
Microsoft.AspNetCore.Components.Tests (43)
ComponentFactoryTest.cs (13)
22var instance = factory.InstantiateComponent(GetServiceProvider(), componentType, null, null);
39Assert.StartsWith($"The type {componentType.FullName} does not implement {nameof(IComponent)}.", ex.Message);
50var instance = factory.InstantiateComponent(GetServiceProvider(), componentType, null, null);
83var instance = factory.InstantiateComponent(GetServiceProvider(), componentType, null, null);
108var instance = factory.InstantiateComponent(serviceProvider, componentType, null, null);
129var instance = factory.InstantiateComponent(serviceProvider, componentType, null, null);
243var instance = factory.InstantiateComponent(serviceProvider, componentType, null, null);
362private class CustomComponentActivator<TResult> : IComponentActivator where TResult : IComponent, new()
364public IComponent CreateInstance(Type componentType)
372public IComponent CreateInstance(Type componentType)
411private readonly IComponent _componentToReturn;
413public RendererWithResolveComponentForRenderMode(IComponent componentToReturn) : base()
436protected internal override IComponent ResolveComponentForRenderMode(Type componentType, int? parentComponentId, IComponentActivator componentActivator, IComponentRenderMode renderMode)
Microsoft.AspNetCore.Components.Web (20)
Microsoft.AspNetCore.Components.Web.Tests (10)
Microsoft.AspNetCore.Components.WebAssembly (11)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Components.WebView.Photino (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Wasm.Performance.ConsoleHost (1)