Share via


CompiledViewDescriptor Constructors

Definition

Overloads

CompiledViewDescriptor()

Creates a new CompiledViewDescriptor.

CompiledViewDescriptor(RazorCompiledItem)

Creates a new CompiledViewDescriptor.

CompiledViewDescriptor(RazorCompiledItem, RazorViewAttribute)

Creates a new CompiledViewDescriptor. At least one of attribute or item must be non-null.

CompiledViewDescriptor()

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

Creates a new CompiledViewDescriptor.

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

Applies to

CompiledViewDescriptor(RazorCompiledItem)

Source:
CompiledViewDescriptor.cs

Creates a new 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)

Parameters

Applies to

CompiledViewDescriptor(RazorCompiledItem, RazorViewAttribute)

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

Creates a new CompiledViewDescriptor. At least one of attribute or item must be non-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)

Parameters

Applies to