IApplicationFeatureProvider<TFeature> Interface¶
A provider for a given <em>TFeature</em> feature.
- Namespace
Microsoft.AspNetCore.Mvc.ApplicationParts
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Syntax¶
public interface IApplicationFeatureProvider<TFeature> : IApplicationFeatureProvider
-
interface
Microsoft.AspNetCore.Mvc.ApplicationParts.
IApplicationFeatureProvider<TFeature>
¶
Methods¶
-
PopulateFeature
(System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart>, TFeature)¶ Updates the <em>feature</em> intance.
Arguments: - parts (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart>) – The list of
Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart
s of the application. - feature (TFeature) – The feature instance to populate.
void PopulateFeature(IEnumerable<ApplicationPart> parts, TFeature feature)
- parts (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart>) – The list of
-