共用方式為


CompiledViewDescriptor 建構函式

定義

多載

CompiledViewDescriptor()

建立新的 CompiledViewDescriptor

CompiledViewDescriptor(RazorCompiledItem)

建立新的 CompiledViewDescriptor

CompiledViewDescriptor(RazorCompiledItem, RazorViewAttribute)

建立新的 CompiledViewDescriptor。 至少其中一個 attributeitem 必須是非 null

CompiledViewDescriptor()

來源:
CompiledViewDescriptor.cs
來源:
CompiledViewDescriptor.cs
來源:
CompiledViewDescriptor.cs

建立新的 CompiledViewDescriptor

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

適用於

CompiledViewDescriptor(RazorCompiledItem)

來源:
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)

來源:
CompiledViewDescriptor.cs
來源:
CompiledViewDescriptor.cs
來源:
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)

參數

適用於