6 types derived from ApplicationPartFactory
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationParts\DefaultApplicationPartFactory.cs (1)
11
public class DefaultApplicationPartFactory :
ApplicationPartFactory
ApplicationParts\NullApplicationPartFactory.cs (1)
15
public class NullApplicationPartFactory :
ApplicationPartFactory
Microsoft.AspNetCore.Mvc.Core.Test (2)
DependencyInjection\MvcBuilderExtensionsTest.cs (1)
177
private class TestApplicationPartFactory :
ApplicationPartFactory
DependencyInjection\MvcCoreBuilderExtensionsTest.cs (1)
103
private class TestApplicationPartFactory :
ApplicationPartFactory
Microsoft.AspNetCore.Mvc.Razor (2)
ApplicationParts\CompiledRazorAssemblyApplicationPartFactory.cs (1)
11
public class CompiledRazorAssemblyApplicationPartFactory :
ApplicationPartFactory
ApplicationParts\ConsolidatedAssemblyApplicationPartFactory.cs (1)
17
public sealed class ConsolidatedAssemblyApplicationPartFactory :
ApplicationPartFactory
17 references to ApplicationPartFactory
Microsoft.AspNetCore.Mvc.Core (17)
ApplicationParts\ApplicationPartFactory.cs (8)
14
/// Assemblies can optionally specify an <see cref="
ApplicationPartFactory
"/> to configure parts for the assembly
27
/// Gets the <see cref="
ApplicationPartFactory
"/> for the specified assembly.
29
/// An assembly may specify an <see cref="
ApplicationPartFactory
"/> using <see cref="ProvideApplicationPartFactoryAttribute"/>.
34
/// <returns>An instance of <see cref="
ApplicationPartFactory
"/>.</returns>
35
public static
ApplicationPartFactory
GetApplicationPartFactory(Assembly assembly)
46
if (!typeof(
ApplicationPartFactory
).IsAssignableFrom(type))
51
typeof(
ApplicationPartFactory
)));
54
return (
ApplicationPartFactory
)Activator.CreateInstance(type)!;
ApplicationParts\ApplicationPartManager.cs (2)
67
var
partFactory =
ApplicationPartFactory
.GetApplicationPartFactory(assembly);
ApplicationParts\DefaultApplicationPartFactory.cs (1)
9
/// Default <see cref="
ApplicationPartFactory
"/>.
ApplicationParts\NullApplicationPartFactory.cs (1)
10
/// An <see cref="
ApplicationPartFactory
"/> that produces no parts.
ApplicationParts\ProvideApplicationPartFactoryAttribute.cs (1)
7
/// Provides a <see cref="
ApplicationPartFactory
"/> type.
DependencyInjection\MvcCoreMvcBuilderExtensions.cs (2)
86
var
partFactory =
ApplicationPartFactory
.GetApplicationPartFactory(assembly);
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (2)
168
var
partFactory =
ApplicationPartFactory
.GetApplicationPartFactory(assembly);