66 types derived from ComponentBase
Microsoft.AspNetCore.Components (3)
ErrorBoundaryBase.cs (1)
11public abstract class ErrorBoundaryBase : ComponentBase, IErrorBoundary
LayoutComponentBase.cs (1)
14public abstract class LayoutComponentBase : ComponentBase
OwningComponentBase.cs (1)
17public abstract class OwningComponentBase : ComponentBase, IDisposable
Microsoft.AspNetCore.Components.Authorization (1)
AuthorizeViewCore.cs (1)
13public abstract class AuthorizeViewCore : ComponentBase
Microsoft.AspNetCore.Components.Authorization.Tests (3)
AuthorizeRouteViewTest.cs (2)
377class TestPageWithNoAuthorization : ComponentBase { } 380class TestPageRequiringAuthorization : ComponentBase
AuthorizeViewTest.cs (1)
548class NeverReRenderComponent : ComponentBase
Microsoft.AspNetCore.Components.Endpoints.Tests (26)
Discovery\ComponentApplicationBuilderTests.cs (12)
419class App1Test1 : ComponentBase { } 421class App1Test2 : ComponentBase { } 423class App1Test3 : ComponentBase { } 425class App1OtherComponent : ComponentBase { } 427class App2Test1 : ComponentBase { } 429class App2Test2 : ComponentBase { } 431class App2Test3 : ComponentBase { } 433class App2OtherComponent : ComponentBase { } 435class SharedTest1 : ComponentBase { } 437class SharedTest2 : ComponentBase { } 439class SharedTest3 : ComponentBase { } 441class SharedOtherComponent : ComponentBase { }
EndpointHtmlRendererTest.cs (9)
1501private class NamedEventHandlerComponent : ComponentBase 1515private class MultiRenderNamedEventHandlerComponent : ComponentBase 1541private class MultiAsyncRenderNamedEventHandlerComponent : ComponentBase 1566private class OtherNamedEventHandlerComponent : ComponentBase 1687private class RedirectComponent : ComponentBase 1701private class ExceptionComponent : ComponentBase 1728private class OnAfterRenderComponent : ComponentBase 1748private class AsyncDisposableComponent : ComponentBase, IAsyncDisposable 1764class EmptyComponent : ComponentBase { }
HotReloadServiceTests.cs (2)
242private class StaticComponent : ComponentBase { } 245private class ServerComponent : ComponentBase { }
RazorComponentEndpointDataSourceTest.cs (3)
247private class ServerComponent : ComponentBase { } 250private class AutoComponent : ComponentBase { } 253private class WebAssemblyComponent : ComponentBase { }
Microsoft.AspNetCore.Components.Forms (1)
DataAnnotationsValidator.cs (1)
9public class DataAnnotationsValidator : ComponentBase, IDisposable
Microsoft.AspNetCore.Components.QuickGrid (1)
Infrastructure\Defer.cs (1)
16public sealed class Defer : ComponentBase
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\CircuitHostTest.cs (1)
732private class DispatcherComponent : ComponentBase, IDisposable
Microsoft.AspNetCore.Components.Tests (11)
CascadingParameterTest.cs (1)
785private class SingleDeliveryCascadingValue : ComponentBase, ICascadingValueSupplier
ComponentBaseTest.cs (1)
466private class TestComponent : ComponentBase
RendererTest.cs (2)
5699private class NestedAsyncComponent : ComponentBase 5854private class ComponentThatAwaitsTask : ComponentBase
Routing\RouterTest.cs (4)
299public class FebComponent : ComponentBase { } 302public class JanComponent : ComponentBase { } 305public class MatchAnythingComponent : ComponentBase { } 308public class MultiSegmentRouteComponent : ComponentBase { }
Routing\RouteTableFactoryTests.cs (3)
105private class MyComponent : ComponentBase 1140public class ComponentWithoutExcludeFromInteractiveRoutingAttribute : ComponentBase { } 1144public class ComponentWithExcludeFromInteractiveRoutingAttribute : ComponentBase { }
Microsoft.AspNetCore.Components.Web (14)
Forms\EditForm.cs (1)
13public class EditForm : ComponentBase
Forms\Editor.cs (1)
13public abstract class Editor<T> : ComponentBase, ICascadingValueSupplier
Forms\InputBase.cs (1)
17public abstract class InputBase<TValue> : ComponentBase, IDisposable
Forms\InputFile.cs (1)
13public class InputFile : ComponentBase, IInputFileJsCallbacks, IDisposable
Forms\InputRadio.cs (1)
13public class InputRadio<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TValue> : ComponentBase
Forms\Mapping\FormMappingValidator.cs (1)
9internal class FormMappingValidator : ComponentBase, IDisposable
Forms\ValidationMessage.cs (1)
12public class ValidationMessage<TValue> : ComponentBase, IDisposable
Forms\ValidationSummary.cs (1)
15public class ValidationSummary : ComponentBase, IDisposable
Head\HeadContent.cs (1)
12public sealed class HeadContent : ComponentBase
Head\HeadOutlet.cs (1)
13public sealed class HeadOutlet : ComponentBase
Head\PageTitle.cs (1)
12public sealed class PageTitle : ComponentBase
Routing\FocusOnNavigate.cs (1)
13public class FocusOnNavigate : ComponentBase
Routing\NavLink.cs (1)
14public class NavLink : ComponentBase, IDisposable
Virtualization\Virtualize.cs (1)
16public sealed class Virtualize<TItem> : ComponentBase, IVirtualizeJsCallbacks, IAsyncDisposable
Microsoft.AspNetCore.Components.Web.Tests (4)
HtmlRendering\HtmlRendererTest.cs (4)
1217private class NestedAsyncComponent : ComponentBase 1243private class AsyncComponent : ComponentBase 1314private class AsyncLoadingComponent : ComponentBase 1334private class ErrorThrowingComponent : ComponentBase
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
ComponentTagHelperTest.cs (1)
100private class TestComponent : ComponentBase
14 references to ComponentBase
Microsoft.AspNetCore.App.Analyzers.Test (1)
Verifiers\CSharpAnalyzerVerifier.cs (1)
83TrimAssemblyExtension(typeof(Microsoft.AspNetCore.Components.ComponentBase).Assembly.Location),
Microsoft.AspNetCore.Components (2)
ComponentBase.cs (2)
33/// Constructs an instance of <see cref="ComponentBase"/>. 231throw new InvalidOperationException($"The render handle is already set. Cannot initialize a {nameof(ComponentBase)} more than once.");
Microsoft.AspNetCore.Components.Tests (11)
CascadingParameterStateTest.cs (1)
482class SupplyParameterWithSingleDeliveryComponent(bool isFixed) : ComponentBase, ICascadingValueSupplier
Routing\RouteKeyTest.cs (8)
37var key2 = new RouteKey(typeof(ComponentBase).Assembly, null); 60var key1 = new RouteKey(typeof(string).Assembly, new[] { typeof(ComponentBase).Assembly, GetType().Assembly }); 61var key2 = new RouteKey(typeof(string).Assembly, new[] { typeof(ComponentBase).Assembly, GetType().Assembly }); 72var key1 = new RouteKey(typeof(string).Assembly, new[] { typeof(ComponentBase).Assembly, GetType().Assembly }); 73var key2 = new RouteKey(typeof(string).Assembly, new[] { GetType().Assembly, typeof(ComponentBase).Assembly }); 85var key2 = new RouteKey(typeof(ComponentBase).Assembly, new[] { GetType().Assembly, }); 96var key1 = new RouteKey(typeof(ComponentBase).Assembly, new[] { typeof(object).Assembly }); 97var key2 = new RouteKey(typeof(ComponentBase).Assembly, new[] { GetType().Assembly, });
Routing\RouteTableFactoryTests.cs (2)
42var routes1 = routeTableFactory.Create(new RouteKey(typeof(object).Assembly, new[] { typeof(ComponentBase).Assembly, GetType().Assembly, }), _serviceProvider); 45var routes2 = routeTableFactory.Create(new RouteKey(typeof(object).Assembly, new[] { GetType().Assembly, typeof(ComponentBase).Assembly, }), _serviceProvider);