ViewsFeatureProvider 类

定义

注意

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)
继承
ViewsFeatureProvider
属性
实现

构造函数

ViewsFeatureProvider()
已过时.

ViewsFeatureIApplicationFeatureProvider<TFeature>

字段

PrecompiledViewsAssemblySuffix
已过时.

获取视图程序集的后缀。

ViewInfoContainerNamespace
已过时.

获取视图程序集中 ViewInfoContainer 类型的命名空间。

ViewInfoContainerTypeName
已过时.

获取视图程序集中视图集合类型的类型名称。

方法

GetViewAttributes(AssemblyPart)
已过时.

获取与指定的 assemblyPart关联的实例序列RazorViewAttribute

GetViewInfoContainerType(AssemblyPart)
已过时.

获取指定 assemblyPartViewInfoContainer 类型。

PopulateFeature(IEnumerable<ApplicationPart>, ViewsFeature)
已过时.

feature汇报实例。

适用于