共用方式為


RazorViewEngineOptionsSetup 類別

定義

警告

This type is for internal use and will be removed in a future version.

設定 的預設選項 RazorViewEngineOptions

public ref class RazorViewEngineOptionsSetup : Microsoft::Extensions::Options::ConfigureOptions<Microsoft::AspNetCore::Mvc::Razor::RazorViewEngineOptions ^>
public class RazorViewEngineOptionsSetup : Microsoft.Extensions.Options.ConfigureOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions>
[System.Obsolete("This type is for internal use and will be removed in a future version.")]
public class RazorViewEngineOptionsSetup : Microsoft.Extensions.Options.ConfigureOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions>
type RazorViewEngineOptionsSetup = class
    inherit ConfigureOptions<RazorViewEngineOptions>
[<System.Obsolete("This type is for internal use and will be removed in a future version.")>]
type RazorViewEngineOptionsSetup = class
    inherit ConfigureOptions<RazorViewEngineOptions>
Public Class RazorViewEngineOptionsSetup
Inherits ConfigureOptions(Of RazorViewEngineOptions)
繼承
RazorViewEngineOptionsSetup
屬性

建構函式

RazorViewEngineOptionsSetup(IHostingEnvironment)
已淘汰.

初始化 RazorViewEngineOptions 的新執行個體。

適用於