CompiledViewDescriptor 构造函数

定义

重载

CompiledViewDescriptor()

创建一个新的 CompiledViewDescriptor

CompiledViewDescriptor(RazorCompiledItem)

创建一个新的 CompiledViewDescriptor

CompiledViewDescriptor(RazorCompiledItem, RazorViewAttribute)

创建一个新的 CompiledViewDescriptor。 至少一个 attributeitem 必须为非null

CompiledViewDescriptor()

Source:
CompiledViewDescriptor.cs
Source:
CompiledViewDescriptor.cs
Source:
CompiledViewDescriptor.cs

创建一个新的 CompiledViewDescriptor

public:
 CompiledViewDescriptor();
public CompiledViewDescriptor ();
Public Sub New ()

适用于

CompiledViewDescriptor(RazorCompiledItem)

Source:
CompiledViewDescriptor.cs

创建一个新的 CompiledViewDescriptor

public:
 CompiledViewDescriptor(Microsoft::AspNetCore::Razor::Hosting::RazorCompiledItem ^ item);
public CompiledViewDescriptor (Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem item);
new Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor : Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem -> Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor
Public Sub New (item As RazorCompiledItem)

参数

适用于

CompiledViewDescriptor(RazorCompiledItem, RazorViewAttribute)

Source:
CompiledViewDescriptor.cs
Source:
CompiledViewDescriptor.cs
Source:
CompiledViewDescriptor.cs

创建一个新的 CompiledViewDescriptor。 至少一个 attributeitem 必须为非null

public:
 CompiledViewDescriptor(Microsoft::AspNetCore::Razor::Hosting::RazorCompiledItem ^ item, Microsoft::AspNetCore::Mvc::Razor::Compilation::RazorViewAttribute ^ attribute);
public CompiledViewDescriptor (Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem item, Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute attribute);
new Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor : Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem * Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute -> Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor
Public Sub New (item As RazorCompiledItem, attribute As RazorViewAttribute)

参数

适用于