CompiledViewDescriptor Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CompiledViewDescriptor() |
Creates a new CompiledViewDescriptor. |
CompiledViewDescriptor(RazorCompiledItem) |
Creates a new CompiledViewDescriptor. |
CompiledViewDescriptor(RazorCompiledItem, RazorViewAttribute) |
Creates a new CompiledViewDescriptor. At least one of |
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
- item
- RazorCompiledItem
The RazorCompiledItem.
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
- item
- RazorCompiledItem
The RazorCompiledItem.
- attribute
- RazorViewAttribute
The RazorViewAttribute.