SaaS CMS has officially launched! Learn more now.

Class FormatterRegistration

Settings for a formatter registration

Inheritance
System.Object
FormatterRegistration
Namespace: EPiServer.Formatters
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
public class FormatterRegistration : Object

Constructors

FormatterRegistration()

Declaration
public FormatterRegistration()

Properties

FormatterType

The type of IJsonInputFormatter or IJsonOutputFormatter to register

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

OptionName

Specifies if a specific named instance of the option should be used

Declaration
public string OptionName { get; set; }
Property Value
Type Description
System.String

OptionsType

An optional option type for the formatter, if specified then formattertype then one of the constructor arguments for the formatter should be OptionsType

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

Extension Methods