Click or drag to resize
RegisterCMSApiControllerAttribute Class
Registers route given CMS API controller.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    CMS.WebApiRegisterCMSApiControllerAttribute

Namespace: CMS.WebApi
Assembly: CMS.WebApi (in CMS.WebApi.dll) Version: 12.0.0
Syntax
C#
public sealed class RegisterCMSApiControllerAttribute : Attribute, 
	IPreInitAttribute

The RegisterCMSApiControllerAttribute type exposes the following members.

Constructors
  NameDescription
Public methodRegisterCMSApiControllerAttribute
Creates new instance of RegisterCMSApiControllerAttribute
Top
Properties
  NameDescription
Public propertyMarkedType
Type of the registered API controller.
Public propertyRequiresSessionState
Gets or sets value that defines if the target API controller requires read and write access to session-state values. Default value is true.
Top
Methods
  NameDescription
Public methodPreInit
Registers instance of this attribute to HttpControllerRouteTable.
Top
See Also