Share via


CompiledViewDescriptor Class

Definition

Represents a compiled Razor View or Page.

public ref class CompiledViewDescriptor
public class CompiledViewDescriptor
type CompiledViewDescriptor = class
Public Class CompiledViewDescriptor
Inheritance
CompiledViewDescriptor

Constructors

CompiledViewDescriptor()

Creates a new CompiledViewDescriptor.

CompiledViewDescriptor(RazorCompiledItem, RazorViewAttribute)

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

CompiledViewDescriptor(RazorCompiledItem)

Creates a new CompiledViewDescriptor.

Properties

ExpirationTokens

IChangeToken instances that indicate when this result has expired.

IsPrecompiled

Gets a value that determines if the view is precompiled.

Item

Gets the RazorCompiledItem descriptor for this view.

RelativePath

The normalized application relative path of the view.

Type

Gets the type of the compiled item.

ViewAttribute
Obsolete.

Gets or sets the RazorViewAttribute decorating the view.

Applies to