Show / Hide Table of Contents

    Class JsonFormatMapper

    Forces WebMessageEncodingBindingElement to use JSON format for all incoming messages.

    Inheritance
    Object
    JsonFormatMapper
    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class JsonFormatMapper : WebContentTypeMapper

    Constructors

    JsonFormatMapper()

    Declaration
    public JsonFormatMapper()

    Methods

    GetMessageFormatForContentType(String)

    Returns the message format used for a specified content type.

    Declaration
    public override WebContentFormat GetMessageFormatForContentType(string contentType)
    Parameters
    Type Name Description
    String contentType

    The content type that indicates the MIME type of data to be interpreted.

    Returns
    Type Description
    WebContentFormat

    The WebContentFormat that specifies the format to which the message content type is mapped.

    Back to top Nevatech Sentinet 6.5 Online Documentation