Show / Hide Table of Contents

    Method DeserializeBatch

    DeserializeBatch<T>(String)

    Constructs a JSON-RPC message batch from a provided JSON string.
    Declaration
    public static JsonRpcBatch<T> DeserializeBatch<T>(string messages)where T : JsonRpcMessage
    Parameters
    Type Name Description
    String messages The JSON string to deserialise.
    Returns
    Type Description
    JsonRpcBatch<T> A new JSON-RPC message batch instance constructed from the provided JSON string.
    Type Parameters
    Name Description
    T The type of the JSON-RPC messages of the batch to construct.

    DeserializeBatch<T>(String, JsonRpcSerializerSettings)

    Constructs a JSON-RPC message batch from a provided JSON string.
    Declaration
    public static JsonRpcBatch<T> DeserializeBatch<T>(string messages, JsonRpcSerializerSettings settings)where T : JsonRpcMessage
    Parameters
    Type Name Description
    String messages The JSON string to deserialise.
    JsonRpcSerializerSettings settings An optional JsonRpcSerializerSettings instance to control JSON-RPC message batch deserialisation.
    Returns
    Type Description
    JsonRpcBatch<T> A new JSON-RPC message batch instance constructed from the provided JSON string.
    Type Parameters
    Name Description
    T The type of the JSON-RPC messages of the batch to construct.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.