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