ViewsFeatureProvider Class

Definition

Caution

This type is obsolete and will be removed in a future version. See IRazorCompiledItemProvider for alternatives.

public ref class ViewsFeatureProvider : Microsoft::AspNetCore::Mvc::ApplicationParts::IApplicationFeatureProvider<Microsoft::AspNetCore::Mvc::Razor::Compilation::ViewsFeature ^>
public class ViewsFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider<Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature>
[System.Obsolete("This type is obsolete and will be removed in a future version. See IRazorCompiledItemProvider for alternatives.")]
public class ViewsFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider<Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature>
type ViewsFeatureProvider = class
    interface IApplicationFeatureProvider<ViewsFeature>
    interface IApplicationFeatureProvider
[<System.Obsolete("This type is obsolete and will be removed in a future version. See IRazorCompiledItemProvider for alternatives.")>]
type ViewsFeatureProvider = class
    interface IApplicationFeatureProvider<ViewsFeature>
    interface IApplicationFeatureProvider
Public Class ViewsFeatureProvider
Implements IApplicationFeatureProvider(Of ViewsFeature)
Inheritance
ViewsFeatureProvider
Attributes
Implements

Constructors

ViewsFeatureProvider()

Fields

PrecompiledViewsAssemblySuffix

Gets the suffix for the view assembly.

ViewInfoContainerNamespace

Gets the namespace for the ViewInfoContainer type in the view assembly.

ViewInfoContainerTypeName

Gets the type name for the view collection type in the view assembly.

Methods

GetViewAttributes(AssemblyPart)

Gets the sequence of RazorViewAttribute instances associated with the specified assemblyPart.

GetViewInfoContainerType(AssemblyPart)

Gets the type of ViewInfoContainer for the specified assemblyPart.

PopulateFeature(IEnumerable<ApplicationPart>, ViewsFeature)

Updates the feature instance.

Applies to