Click or drag to resize
ApiControllerManager Class

Note: This API is now obsolete.

Manages a collection of API controllers.
Inheritance Hierarchy
SystemObject
  CMS.WebApiApiControllerManager

Namespace: CMS.WebApi
Assembly: CMS.WebApi (in CMS.WebApi.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This class is not longer needed, the custom API controllers registration was removed and the API controllers are newly registered by Web API.")]
public sealed class ApiControllerManager

The ApiControllerManager type exposes the following members.

Constructors
  NameDescription
Public methodApiControllerManager
Top
Methods
  NameDescription
Public methodGetControllerTypes
Returns a list of current API controller types.
Public methodRegister
Adds the specified API controller type to a collection.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyStatic memberCurrent
Gets the current instance of this class.
Top
Remarks
When the application starts, it locates API controllers using the RegisterApiControllerAttribute attribute and registers them with the default instance of this class.
See Also