Show / Hide Table of Contents

    Class JsonConverterCollectionExtensions

    Extension methods for the System.Collections.Generic.ICollection<T>.

    Inheritance
    System.Object
    JsonConverterCollectionExtensions
    Namespace: Cuemon.AspNetCore.Mvc.Formatters.Json.Converters
    Assembly: Cuemon.AspNetCore.Mvc.Formatters.Json.dll
    Syntax
    public static class JsonConverterCollectionExtensions

    Methods

    | Improve this Doc

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

    Adds an HttpExceptionDescriptor JSON converter to the list.

    Declaration
    public static void AddHttpExceptionDescriptorConverter(this ICollection<JsonConverter> converters, Action<ExceptionDescriptorSerializationOptions> setup = null)
    Parameters
    Type Name Description
    System.Collections.Generic.ICollection<Newtonsoft.Json.JsonConverter> converters

    The list of JSON converters.

    System.Action<ExceptionDescriptorSerializationOptions> setup

    The ExceptionDescriptorSerializationOptions which need to be configured.

    | Improve this Doc

    AddStringValuesConverter(ICollection<JsonConverter>)

    Adds an Microsoft.Extensions.Primitives.StringValues JSON converter to the list.

    Declaration
    public static void AddStringValuesConverter(this ICollection<JsonConverter> converters)
    Parameters
    Type Name Description
    System.Collections.Generic.ICollection<Newtonsoft.Json.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