SaaS CMS has officially launched! Learn more now.

Class ContentActionDescriptor

An action descriptor that can be added to Microsoft.AspNetCore.Http.Endpoint.Metadata to mark an endpoint as a candidate to render content items.

Inheritance
System.Object
ContentActionDescriptor
Namespace: EPiServer.Web.Routing.Matching
Assembly: EPiServer.Cms.AspNetCore.Routing.dll
Version: 12.0.3
Syntax
public class ContentActionDescriptor : ActionDescriptor

Constructors

ContentActionDescriptor()

Declaration
public ContentActionDescriptor()

Properties

Inherited

Indicates if the endpoint can be used for inherited modeltype

Declaration
public bool Inherited { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Default value is true

ModelType

The model type for which the endpoint is valid for

Declaration
public Type ModelType { get; set; }
Property Value
Type Description
System.Type

Extension Methods