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.ApplicationPart
s.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.IApplicationFeatureProvider
s.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`1
s configured on theMicrosoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager
.Arguments: feature (TFeature) – The feature instance to populate. public void PopulateFeature<TFeature>(TFeature feature)
-