Specifies that this class represents a Page content type. Pages are used as the view models for Razor views in your site.

[AttributeUsage]
public sealed class PageAttribute: IContentTypeAttribute
Inheritance:
ObjectAttributePageAttribute
Implements:
IContentTypeAttribute

Constructors

PageAttribute()

Methods

Apply(ContentTypeDefinition)