ApplicationPartManager Class

Manages the parts and features of an MVC application.

Namespace
Microsoft.AspNetCore.Mvc.ApplicationParts
Assemblies
  • Microsoft.AspNetCore.Mvc.Core

Syntax

public class ApplicationPartManager
class Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager

Properties

Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.ApplicationParts

Gets the list of Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationParts.

Return type:System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart>
public IList<ApplicationPart> ApplicationParts { get; }
Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.FeatureProviders

Gets the list of Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProviders.

Return type:System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider>
public IList<IApplicationFeatureProvider> FeatureProviders { get; }

Methods

PopulateFeature<TFeature>(TFeature)

Populates the given <em>feature</em> using the list of Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider`1s configured on the Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.

Arguments:feature (TFeature) – The feature instance to populate.
public void PopulateFeature<TFeature>(TFeature feature)