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