20 references to AddLibrary
Microsoft.AspNetCore.Components.Endpoints (1)
Discovery\IRazorComponentApplication.cs (1)
17
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(libraryName, pages, components));
Microsoft.AspNetCore.Components.Endpoints.Tests (19)
Builder\RazorComponentsEndpointConventionBuilderExtensionsTest.cs (1)
248
builder.ApplicationBuilder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
Discovery\ComponentApplicationBuilderTests.cs (16)
13
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
44
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
49
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
83
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
88
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
118
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
124
builder2.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
159
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
164
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
170
builder2.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
175
builder2.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
218
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
223
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
228
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
234
builder2.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
239
builder2.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
HotReloadServiceTests.cs (1)
202
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(
RazorComponentEndpointDataSourceTest.cs (1)
205
builder.
AddLibrary
(new AssemblyComponentLibraryDescriptor(