共用方式為


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)
已淘汰.

取得指定 之 的 ViewInfoContainer 型別 assemblyPart

PopulateFeature(IEnumerable<ApplicationPart>, ViewsFeature)
已淘汰.

feature更新 實例。

適用於