Click or drag to resize
UseDefaultJsonMediaTypeFormatterAttributeInitialize Method
Initializes controller with JsonMediaTypeFormatter to handle JSON formatting.

Namespace: CMS.WebApi
Assembly: CMS.WebApi (in CMS.WebApi.dll) Version: 11.0.0
Syntax
C#
public void Initialize(
	HttpControllerSettings settings,
	HttpControllerDescriptor descriptor
)

Parameters

settings
Type: HttpControllerSettings
The controller settings to initialize.
descriptor
Type: HttpControllerDescriptor
The controller descriptor.

Implements

IControllerConfiguration.Initialize(HttpControllerSettings, HttpControllerDescriptor)
See Also