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 的新实例。

适用于