Click or drag to resize
ApiControllerManagerRegister Method
Adds the specified API controller type to a collection.

Namespace: CMS.WebApi
Assembly: CMS.WebApi (in CMS.WebApi.dll) Version: 8.2.23
Syntax
C#
public void Register(
	Type controllerType
)

Parameters

controllerType
Type: SystemType
The type of the API controller.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe type of API controller is not specified.
ArgumentExceptionThe specified type does not inherit from the ApiController class.
See Also