다음을 통해 공유


RazorViewEngine 생성자

정의

오버로드

RazorViewEngine(IRazorPageFactoryProvider, IRazorPageActivator, HtmlEncoder, IOptions<RazorViewEngineOptions>, ILoggerFactory)

RazorViewEngine의 새 인스턴스를 초기화합니다.

RazorViewEngine(IRazorPageFactoryProvider, IRazorPageActivator, HtmlEncoder, IOptions<RazorViewEngineOptions>, ILoggerFactory, DiagnosticListener)

RazorViewEngine의 새 인스턴스를 초기화합니다.

RazorViewEngine(IRazorPageFactoryProvider, IRazorPageActivator, HtmlEncoder, IOptions<RazorViewEngineOptions>, RazorProject, ILoggerFactory, DiagnosticSource)
사용되지 않음.

RazorViewEngine의 새 인스턴스를 초기화합니다.

RazorViewEngine(IRazorPageFactoryProvider, IRazorPageActivator, HtmlEncoder, IOptions<RazorViewEngineOptions>, RazorProjectFileSystem, ILoggerFactory, DiagnosticSource)

RazorViewEngine의 새 instance 초기화합니다.

RazorViewEngine(IRazorPageFactoryProvider, IRazorPageActivator, HtmlEncoder, IOptions<RazorViewEngineOptions>, ILoggerFactory)

RazorViewEngine의 새 인스턴스를 초기화합니다.

public:
 RazorViewEngine(Microsoft::AspNetCore::Mvc::Razor::IRazorPageFactoryProvider ^ pageFactory, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ pageActivator, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::Razor::RazorViewEngineOptions ^> ^ optionsAccessor, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public RazorViewEngine (Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider pageFactory, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> optionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Text.Encodings.Web.HtmlEncoder * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine
Public Sub New (pageFactory As IRazorPageFactoryProvider, pageActivator As IRazorPageActivator, htmlEncoder As HtmlEncoder, optionsAccessor As IOptions(Of RazorViewEngineOptions), loggerFactory As ILoggerFactory)

매개 변수

pageActivator
IRazorPageActivator
htmlEncoder
HtmlEncoder
optionsAccessor
IOptions<RazorViewEngineOptions>
loggerFactory
ILoggerFactory

적용 대상

RazorViewEngine(IRazorPageFactoryProvider, IRazorPageActivator, HtmlEncoder, IOptions<RazorViewEngineOptions>, ILoggerFactory, DiagnosticListener)

Source:
RazorViewEngine.cs

RazorViewEngine의 새 인스턴스를 초기화합니다.

public:
 RazorViewEngine(Microsoft::AspNetCore::Mvc::Razor::IRazorPageFactoryProvider ^ pageFactory, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ pageActivator, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::Razor::RazorViewEngineOptions ^> ^ optionsAccessor, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Diagnostics::DiagnosticListener ^ diagnosticListener);
public RazorViewEngine (Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider pageFactory, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> optionsAccessor, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticListener diagnosticListener);
new Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Text.Encodings.Web.HtmlEncoder * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Diagnostics.DiagnosticListener -> Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine
Public Sub New (pageFactory As IRazorPageFactoryProvider, pageActivator As IRazorPageActivator, htmlEncoder As HtmlEncoder, optionsAccessor As IOptions(Of RazorViewEngineOptions), loggerFactory As ILoggerFactory, diagnosticListener As DiagnosticListener)

매개 변수

pageActivator
IRazorPageActivator
htmlEncoder
HtmlEncoder
optionsAccessor
IOptions<RazorViewEngineOptions>
loggerFactory
ILoggerFactory
diagnosticListener
DiagnosticListener

적용 대상

RazorViewEngine(IRazorPageFactoryProvider, IRazorPageActivator, HtmlEncoder, IOptions<RazorViewEngineOptions>, RazorProject, ILoggerFactory, DiagnosticSource)

Source:
RazorViewEngine.cs
Source:
RazorViewEngine.cs

주의

This constructor is obsolete and will be removed in a future version.

RazorViewEngine의 새 인스턴스를 초기화합니다.

public:
 RazorViewEngine(Microsoft::AspNetCore::Mvc::Razor::IRazorPageFactoryProvider ^ pageFactory, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ pageActivator, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::Razor::RazorViewEngineOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Razor::Language::RazorProject ^ razorProject, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Diagnostics::DiagnosticSource ^ diagnosticSource);
public RazorViewEngine (Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider pageFactory, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> optionsAccessor, Microsoft.AspNetCore.Razor.Language.RazorProject razorProject, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticSource diagnosticSource);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public RazorViewEngine (Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider pageFactory, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> optionsAccessor, Microsoft.AspNetCore.Razor.Language.RazorProject razorProject, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticSource diagnosticSource);
new Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Text.Encodings.Web.HtmlEncoder * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> * Microsoft.AspNetCore.Razor.Language.RazorProject * Microsoft.Extensions.Logging.ILoggerFactory * System.Diagnostics.DiagnosticSource -> Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Text.Encodings.Web.HtmlEncoder * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> * Microsoft.AspNetCore.Razor.Language.RazorProject * Microsoft.Extensions.Logging.ILoggerFactory * System.Diagnostics.DiagnosticSource -> Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine
Public Sub New (pageFactory As IRazorPageFactoryProvider, pageActivator As IRazorPageActivator, htmlEncoder As HtmlEncoder, optionsAccessor As IOptions(Of RazorViewEngineOptions), razorProject As RazorProject, loggerFactory As ILoggerFactory, diagnosticSource As DiagnosticSource)

매개 변수

pageActivator
IRazorPageActivator
htmlEncoder
HtmlEncoder
optionsAccessor
IOptions<RazorViewEngineOptions>
razorProject
Microsoft.AspNetCore.Razor.Language.RazorProject
loggerFactory
ILoggerFactory
diagnosticSource
DiagnosticSource
특성

적용 대상

RazorViewEngine(IRazorPageFactoryProvider, IRazorPageActivator, HtmlEncoder, IOptions<RazorViewEngineOptions>, RazorProjectFileSystem, ILoggerFactory, DiagnosticSource)

Source:
RazorViewEngine.cs
Source:
RazorViewEngine.cs

RazorViewEngine의 새 instance 초기화합니다.

public:
 RazorViewEngine(Microsoft::AspNetCore::Mvc::Razor::IRazorPageFactoryProvider ^ pageFactory, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ pageActivator, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::Razor::RazorViewEngineOptions ^> ^ optionsAccessor, Microsoft::AspNetCore::Razor::Language::RazorProjectFileSystem ^ razorFileSystem, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Diagnostics::DiagnosticSource ^ diagnosticSource);
public RazorViewEngine (Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider pageFactory, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> optionsAccessor, Microsoft.AspNetCore.Razor.Language.RazorProjectFileSystem razorFileSystem, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticSource diagnosticSource);
new Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Text.Encodings.Web.HtmlEncoder * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> * Microsoft.AspNetCore.Razor.Language.RazorProjectFileSystem * Microsoft.Extensions.Logging.ILoggerFactory * System.Diagnostics.DiagnosticSource -> Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine
Public Sub New (pageFactory As IRazorPageFactoryProvider, pageActivator As IRazorPageActivator, htmlEncoder As HtmlEncoder, optionsAccessor As IOptions(Of RazorViewEngineOptions), razorFileSystem As RazorProjectFileSystem, loggerFactory As ILoggerFactory, diagnosticSource As DiagnosticSource)

매개 변수

pageActivator
IRazorPageActivator
htmlEncoder
HtmlEncoder
optionsAccessor
IOptions<RazorViewEngineOptions>
razorFileSystem
Microsoft.AspNetCore.Razor.Language.RazorProjectFileSystem
loggerFactory
ILoggerFactory
diagnosticSource
DiagnosticSource

적용 대상