85 types derived from ComponentBase
Aspire.Dashboard (19)
Components\Controls\ApplicationName.razor.cs (1)
11public sealed partial class ApplicationName : ComponentBase, IDisposable
Components\Controls\Chart\ChartBase.cs (1)
19public abstract class ChartBase : ComponentBase, IAsyncDisposable
Components\Controls\Chart\ChartContainer.razor.cs (1)
14public partial class ChartContainer : ComponentBase, IAsyncDisposable
Components\Controls\Grid\AspireFluentDataGridHeaderCell.razor.cs (1)
11public partial class AspireFluentDataGridHeaderCell<T> : ComponentBase
Components\Controls\LogLevelSelect.razor.cs (1)
8public partial class LogLevelSelect : ComponentBase
Components\Controls\ResourceActions.razor.cs (1)
13public partial class ResourceActions : ComponentBase
Components\Controls\SpanActions.razor.cs (1)
13public partial class SpanActions : ComponentBase
Components\Controls\StructuredLogActions.razor.cs (1)
13public partial class StructuredLogActions : ComponentBase
Components\Controls\TraceActions.razor.cs (1)
13public partial class TraceActions : ComponentBase
Components\Controls\UserProfile.razor.cs (1)
15public partial class UserProfile : ComponentBase
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
16public partial class TextVisualizerDialog : ComponentBase, IAsyncDisposable
Components\Layout\AspirePageContentLayout.razor.cs (1)
10public partial class AspirePageContentLayout : ComponentBase
Components\Layout\DesktopNavMenu.razor.cs (1)
9public partial class DesktopNavMenu : ComponentBase
Components\Layout\MobileNavMenu.razor.cs (1)
15public partial class MobileNavMenu : ComponentBase
Components\Pages\ConsoleLogs.razor.cs (1)
23public sealed partial class ConsoleLogs : ComponentBase, IAsyncDisposable, IPageWithSessionAndUrlState<ConsoleLogs.ConsoleLogsViewModel, ConsoleLogs.ConsoleLogsPageState>
Components\Pages\Resources.razor.cs (1)
18public partial class Resources : ComponentBase, IAsyncDisposable
Components\Pages\TraceDetail.razor.cs (1)
18public partial class TraceDetail : ComponentBase, IDisposable
Components\Resize\BrowserDimensionWatcher.cs (1)
9public class BrowserDimensionWatcher : ComponentBase
Components\Resize\GridColumnManager.razor.cs (1)
10public partial class GridColumnManager : ComponentBase, IDisposable
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)
256private class StaticComponent : ComponentBase { } 259private class ServerComponent : ComponentBase { }
RazorComponentEndpointDataSourceTest.cs (3)
256private class ServerComponent : ComponentBase { } 259private class AutoComponent : ComponentBase { } 262private 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)
874private 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 1158public class ComponentWithoutExcludeFromInteractiveRoutingAttribute : ComponentBase { } 1162public 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)
14public 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)
86TrimAssemblyExtension(typeof(Microsoft.AspNetCore.Components.ComponentBase).Assembly.Location),
Microsoft.AspNetCore.Components (2)
ComponentBase.cs (2)
33/// Constructs an instance of <see cref="ComponentBase"/>. 236throw 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);