Show / Hide Table of Contents

    Class JsonConverterCollectionExtensions

    Extension methods for the .

    Inheritance
    System.Object
    JsonConverterCollectionExtensions
    Namespace: Cuemon.Serialization.Json.Converters
    Assembly: Cuemon.Serialization.Json.dll
    Syntax
    public static class JsonConverterCollectionExtensions : object

    Methods

    | Improve this Doc

    AddDataPairConverter(ICollection<JsonConverter>)

    Adds an DataPair JSON converter to the list.

    Declaration
    public static void AddDataPairConverter(this ICollection<JsonConverter> converters)
    Parameters
    Type Name Description
    ICollection<JsonConverter> converters

    The list of JSON converters.

    | Improve this Doc

    AddExceptionConverter(ICollection<JsonConverter>, Func<Boolean>)

    Adds an JSON converter to the list.

    Declaration
    public static void AddExceptionConverter(this ICollection<JsonConverter> converters, Func<bool> includeStackTraceFactory)
    Parameters
    Type Name Description
    ICollection<JsonConverter> converters

    The list of JSON converters.

    Func<System.Boolean> includeStackTraceFactory

    The function delegate that is invoked when it is needed to determine whether the stack of an exception is included in the converted result.

    | Improve this Doc

    AddExceptionConverter(ICollection<JsonConverter>, Boolean)

    Adds an JSON converter to the list.

    Declaration
    public static void AddExceptionConverter(this ICollection<JsonConverter> converters, bool includeStackTrace)
    Parameters
    Type Name Description
    ICollection<JsonConverter> converters

    The list of JSON converters.

    System.Boolean includeStackTrace

    if set to true the stack of an exception is included in the converted result.

    | Improve this Doc

    AddExceptionDescriptorConverter(ICollection<JsonConverter>, Action<ExceptionDescriptorSerializationOptions>)

    Adds an ExceptionDescriptor JSON converter to the list.

    Declaration
    public static void AddExceptionDescriptorConverter(this ICollection<JsonConverter> converters, Action<ExceptionDescriptorSerializationOptions> setup = null)
    Parameters
    Type Name Description
    ICollection<JsonConverter> converters

    The list of JSON converters.

    Action<ExceptionDescriptorSerializationOptions> setup

    The ExceptionDescriptorSerializationOptions which need to be configured.

    | Improve this Doc

    AddStringEnumConverter(ICollection<JsonConverter>)

    Adds an JSON converter to the list.

    Declaration
    public static void AddStringEnumConverter(this ICollection<JsonConverter> converters)
    Parameters
    Type Name Description
    ICollection<JsonConverter> converters

    The list of JSON converters.

    | Improve this Doc

    AddStringFlagsEnumConverter(ICollection<JsonConverter>)

    Adds a combined and JSON converter to the list.

    Declaration
    public static void AddStringFlagsEnumConverter(this ICollection<JsonConverter> converters)
    Parameters
    Type Name Description
    ICollection<JsonConverter> converters

    The list of JSON converters.

    | Improve this Doc

    AddTimeSpanConverter(ICollection<JsonConverter>)

    Adds a JSON converter to the list.

    Declaration
    public static void AddTimeSpanConverter(this ICollection<JsonConverter> converters)
    Parameters
    Type Name Description
    ICollection<JsonConverter> converters

    The list of JSON converters.

    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX