2 types derived from ApplicationPart
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationParts\AssemblyPart.cs (1)
11
public class AssemblyPart :
ApplicationPart
, IApplicationPartTypeProvider
Microsoft.AspNetCore.Mvc.Razor (1)
ApplicationParts\CompiledRazorAssemblyPart.cs (1)
12
public class CompiledRazorAssemblyPart :
ApplicationPart
, IRazorCompiledItemProvider
51 references to ApplicationPart
Microsoft.AspNetCore.Mvc.Core (37)
ApplicationParts\ApplicationPart.cs (1)
12
/// Gets the <see cref="
ApplicationPart
"/> name.
ApplicationParts\ApplicationPartAttribute.cs (2)
7
/// Specifies an assembly to be added as an <see cref="
ApplicationPart
" />.
11
/// Each of these assemblies is treated as an <see cref="
ApplicationPart
" />.
ApplicationParts\ApplicationPartFactory.cs (3)
10
/// Specifies a contract for synthesizing one or more <see cref="
ApplicationPart
"/> instances
21
/// Gets one or more <see cref="
ApplicationPart
"/> instances for the specified <paramref name="assembly"/>.
24
public abstract IEnumerable<
ApplicationPart
> GetApplicationParts(Assembly assembly);
ApplicationParts\ApplicationPartManager.cs (6)
21
/// Gets the list of <see cref="
ApplicationPart
"/> instances.
23
/// Instances in this collection are stored in precedence order. An <see cref="
ApplicationPart
"/> that appears
26
/// multiple <see cref="
ApplicationPart
"/> instances resolve equivalent feature values.
29
public IList<
ApplicationPart
> ApplicationParts { get; } = new List<
ApplicationPart
>();
68
foreach (
var
applicationPart in partFactory.GetApplicationParts(assembly))
ApplicationParts\AssemblyPart.cs (3)
9
/// An <see cref="
ApplicationPart
"/> backed by an <see cref="System.Reflection.Assembly"/>.
23
/// Gets the <see cref="Assembly"/> of the <see cref="
ApplicationPart
"/>.
28
/// Gets the name of the <see cref="
ApplicationPart
"/>.
ApplicationParts\DefaultApplicationPartFactory.cs (4)
19
/// Gets the sequence of <see cref="
ApplicationPart
"/> instances that are created by this instance of <see cref="DefaultApplicationPartFactory"/>.
25
/// <returns>The sequence of <see cref="
ApplicationPart
"/> instances.</returns>
26
public static IEnumerable<
ApplicationPart
> GetDefaultApplicationParts(Assembly assembly)
34
public override IEnumerable<
ApplicationPart
> GetApplicationParts(Assembly assembly)
ApplicationParts\IApplicationFeatureProviderOfT.cs (3)
15
/// <param name="parts">The list of <see cref="
ApplicationPart
"/> instances in the application.
19
/// <see cref="
ApplicationPart
"/> instances in <paramref name="parts"/> appear in the same ordered sequence they
23
void PopulateFeature(IEnumerable<
ApplicationPart
> parts, TFeature feature);
ApplicationParts\IApplicationPartTypeProvider.cs (2)
9
/// Exposes a set of types from an <see cref="
ApplicationPart
"/>.
14
/// Gets the list of available types in the <see cref="
ApplicationPart
"/>.
ApplicationParts\ICompilationReferencesProvider.cs (1)
7
/// Exposes one or more reference paths from an <see cref="
ApplicationPart
"/>.
ApplicationParts\NullApplicationPartFactory.cs (2)
18
public override IEnumerable<
ApplicationPart
> GetApplicationParts(Assembly assembly)
20
return Enumerable.Empty<
ApplicationPart
>();
Controllers\ControllerFeatureProvider.cs (2)
11
/// Discovers controllers from a list of <see cref="
ApplicationPart
"/> instances.
19
IEnumerable<
ApplicationPart
> parts,
DependencyInjection\IMvcBuilder.cs (1)
19
/// Gets the <see cref="ApplicationPartManager"/> where <see cref="
ApplicationPart
"/>s
DependencyInjection\IMvcCoreBuilder.cs (1)
19
/// Gets the <see cref="ApplicationPartManager"/> where <see cref="
ApplicationPart
"/>s
DependencyInjection\MvcCoreMvcBuilderExtensions.cs (3)
73
/// Adds an <see cref="
ApplicationPart
"/> to the list of <see cref="ApplicationPartManager.ApplicationParts"/> on the
77
/// <param name="assembly">The <see cref="Assembly"/> of the <see cref="
ApplicationPart
"/>.</param>
87
foreach (
var
applicationPart in partFactory.GetApplicationParts(assembly))
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (3)
155
/// Adds an <see cref="
ApplicationPart
"/> to the list of <see cref="ApplicationPartManager.ApplicationParts"/> on the
159
/// <param name="assembly">The <see cref="Assembly"/> of the <see cref="
ApplicationPart
"/>.</param>
169
foreach (
var
applicationPart in partFactory.GetApplicationParts(assembly))
Microsoft.AspNetCore.Mvc.Razor (12)
ApplicationParts\CompiledRazorAssemblyApplicationPartFactory.cs (4)
14
/// Gets the sequence of <see cref="
ApplicationPart
"/> instances that are created by this instance of <see cref="DefaultApplicationPartFactory"/>.
20
/// <returns>The sequence of <see cref="
ApplicationPart
"/> instances.</returns>
21
public static IEnumerable<
ApplicationPart
> GetDefaultApplicationParts(Assembly assembly)
29
public override IEnumerable<
ApplicationPart
> GetApplicationParts(Assembly assembly) => GetDefaultApplicationParts(assembly);
ApplicationParts\CompiledRazorAssemblyPart.cs (1)
10
/// An <see cref="
ApplicationPart
"/> for compiled Razor assemblies.
ApplicationParts\ConsolidatedAssemblyApplicationPartFactory.cs (2)
10
/// Configures an <see cref="
ApplicationPart
" /> that contains controllers, as well as Razor views and Pages.
20
public override IEnumerable<
ApplicationPart
> GetApplicationParts(Assembly assembly)
ApplicationParts\IRazorCompiledItemProvider.cs (1)
9
/// Exposes one or more <see cref="RazorCompiledItem"/> instances from an <see cref="
ApplicationPart
"/>.
ApplicationParts\RazorCompiledItemFeatureProvider.cs (1)
16
public void PopulateFeature(IEnumerable<
ApplicationPart
> parts, ViewsFeature feature)
TagHelpers\TagHelperFeatureProvider.cs (3)
16
public void PopulateFeature(IEnumerable<
ApplicationPart
> parts, TagHelperFeature feature)
18
foreach (
var
part in parts)
39
protected virtual bool IncludePart(
ApplicationPart
part) => true;
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewComponents\ViewComponentFeatureProvider.cs (2)
10
/// Discovers view components from a list of <see cref="
ApplicationPart
"/> instances.
15
public void PopulateFeature(IEnumerable<
ApplicationPart
> parts, ViewComponentFeature feature)