11 instantiations of ComponentApplicationBuilder
Microsoft.AspNetCore.Components.Endpoints (2)
Builder\RazorComponentEndpointDataSource.cs (1)
110var componentApplicationBuilder = new ComponentApplicationBuilder();
Discovery\DefaultRazorComponentApplication.cs (1)
16var builder = new ComponentApplicationBuilder();
Microsoft.AspNetCore.Components.Endpoints.Tests (9)
Discovery\ComponentApplicationBuilderTests.cs (9)
12var builder = new ComponentApplicationBuilder(); 43var builder = new ComponentApplicationBuilder(); 82var builder = new ComponentApplicationBuilder(); 117var builder = new ComponentApplicationBuilder(); 123var builder2 = new ComponentApplicationBuilder(); 158var builder = new ComponentApplicationBuilder(); 169var builder2 = new ComponentApplicationBuilder(); 217var builder = new ComponentApplicationBuilder(); 233var builder2 = new ComponentApplicationBuilder();
41 references to ComponentApplicationBuilder
Microsoft.AspNetCore.Components.Endpoints (29)
Builder\RazorComponentApplicationAttribute.cs (2)
20/// The <see cref="ComponentApplicationBuilder"/> associated with the application definition. 22public abstract ComponentApplicationBuilder GetBuilder();
Builder\RazorComponentEndpointDataSource.cs (3)
23private readonly List<Action<ComponentApplicationBuilder>> _componentApplicationBuilderActions = []; 37internal List<Action<ComponentApplicationBuilder>> ComponentApplicationBuilderActions => _componentApplicationBuilderActions; 110var componentApplicationBuilder = new ComponentApplicationBuilder();
Builder\RazorComponentsEndpointConventionBuilder.cs (3)
21private readonly List<Action<ComponentApplicationBuilder>> _componentApplicationBuilderActions; 29List<Action<ComponentApplicationBuilder>> componentApplicationBuilderActions) 39internal List<Action<ComponentApplicationBuilder>> ComponentApplicationBuilderActions => _componentApplicationBuilderActions;
Discovery\ComponentApplicationBuilder.cs (14)
32/// Indicates whether the current <see cref="ComponentApplicationBuilder"/> instance 46/// <returns>The <see cref="ComponentApplicationBuilder"/>.</returns> 47public ComponentApplicationBuilder AddAssembly(Assembly assembly) 49var builder = IRazorComponentApplication.GetBuilderForAssembly(this, assembly); 59/// <returns>The <see cref="ComponentApplicationBuilder"/>.</returns> 60public ComponentApplicationBuilder RemoveAssembly(Assembly assembly) 85/// Combines the two <see cref="ComponentApplicationBuilder"/> instances. 87/// <param name="other">The <see cref="ComponentApplicationBuilder"/> to merge.</param> 88internal void Combine(ComponentApplicationBuilder other) 97/// current <see cref="ComponentApplicationBuilder"/>. 100internal void Exclude(ComponentApplicationBuilder builder) 109/// the current <see cref="ComponentApplicationBuilder"/>. 120/// Gets the <see cref="ComponentApplicationBuilder"/> for the given <typeparamref name="TComponent"/>. 124internal static ComponentApplicationBuilder? GetBuilder<TComponent>()
Discovery\ComponentCollectionBuilder.cs (1)
7/// Represents the list of components defined in a <see cref="ComponentApplicationBuilder"/>
Discovery\DefaultRazorComponentApplication.cs (2)
14public ComponentApplicationBuilder GetBuilder() 16var builder = new ComponentApplicationBuilder();
Discovery\IRazorComponentApplication.cs (3)
11ComponentApplicationBuilder GetBuilder(); 13static ComponentApplicationBuilder GetBuilderForAssembly(ComponentApplicationBuilder builder, Assembly assembly)
Discovery\PageCollectionBuilder.cs (1)
7/// Represents the list of pages in a <see cref="ComponentApplicationBuilder"/>.
Microsoft.AspNetCore.Components.Endpoints.Tests (12)
Discovery\ComponentApplicationBuilderTests.cs (9)
12var builder = new ComponentApplicationBuilder(); 43var builder = new ComponentApplicationBuilder(); 82var builder = new ComponentApplicationBuilder(); 117var builder = new ComponentApplicationBuilder(); 123var builder2 = new ComponentApplicationBuilder(); 158var builder = new ComponentApplicationBuilder(); 169var builder2 = new ComponentApplicationBuilder(); 217var builder = new ComponentApplicationBuilder(); 233var builder2 = new ComponentApplicationBuilder();
HotReloadServiceTests.cs (3)
177private static void ConfigureBuilder(ComponentApplicationBuilder builder, params Type[] types) 190private static void ConfigureServerComponentBuilder(ComponentApplicationBuilder builder) 211Action<ComponentApplicationBuilder> configureBuilder = null,