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

[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class PageAttribute: IContentTypeAttribute
Inheritance:
ObjectAttributePageAttribute
Implements:
IContentTypeAttribute

Constructors

PageAttribute()

Methods

Apply(ContentTypeDefinition)