12 instantiations of ComponentApplicationBuilder
Microsoft.AspNetCore.Components.Endpoints (1)
Discovery\DefaultRazorComponentApplication.cs (1)
16var builder = new ComponentApplicationBuilder();
Microsoft.AspNetCore.Components.Endpoints.Tests (11)
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 (1)
201var builder = new ComponentApplicationBuilder();
RazorComponentEndpointDataSourceTest.cs (1)
204var builder = new ComponentApplicationBuilder();
53 references to ComponentApplicationBuilder
Microsoft.AspNetCore.Components.Endpoints (31)
Builder\RazorComponentApplicationAttribute.cs (2)
20/// The <see cref="ComponentApplicationBuilder"/> associated with the application definition. 22public abstract ComponentApplicationBuilder GetBuilder();
Builder\RazorComponentEndpointDataSource.cs (3)
24private readonly ComponentApplicationBuilder _builder; 38internal ComponentApplicationBuilder Builder => _builder; 42ComponentApplicationBuilder builder,
Builder\RazorComponentEndpointDataSourceFactory.cs (2)
20var builder = ComponentApplicationBuilder.GetBuilder<TRootComponent>() ??
Builder\RazorComponentsEndpointConventionBuilder.cs (3)
24ComponentApplicationBuilder builder, 39/// Gets the <see cref="ComponentApplicationBuilder"/> that is used to build the endpoints. 41internal ComponentApplicationBuilder ApplicationBuilder { get; }
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 (22)
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 (9)
26var builder = CreateBuilder(typeof(ServerComponent)); 44var builder = CreateBuilder(typeof(ServerComponent)); 79var builder = CreateBuilder(typeof(ServerComponent)); 103var builder = CreateBuilder(typeof(ServerComponent)); 127var builder = CreateBuilder(typeof(ServerComponent)); 172var builder = CreateBuilder(typeof(ServerComponent)); 199private ComponentApplicationBuilder CreateBuilder(params Type[] types) 201var builder = new ComponentApplicationBuilder(); 230ComponentApplicationBuilder builder,
RazorComponentEndpointDataSourceTest.cs (4)
37var builder = CreateBuilder(); 202private ComponentApplicationBuilder CreateBuilder(params Type[] types) 204var builder = new ComponentApplicationBuilder(); 233ComponentApplicationBuilder builder = null,