Show / Hide Table of Contents

    Method NotificationWithMethod

    NotificationWithMethod(String)

    Creates a new JsonRpcRequest instance with the given method name and no request ID.
    Declaration
    public static JsonRpcRequest NotificationWithMethod(string method)
    Parameters
    Type Name Description
    String method Name of RPC method.
    Returns
    Type Description
    JsonRpcRequest New JsonRpcRequest notification instance.

    NotificationWithMethod<T>(String, T[])

    Creates a new JsonRpcRequest instance with the given method name, the provided positional parameters and no request ID.
    Declaration
    public static JsonRpcRequest NotificationWithMethod<T>(string method, T[] positionalParameters)
    Parameters
    Type Name Description
    String method Name of RPC method.
    T[] positionalParameters Array of positional request parameters.
    Returns
    Type Description
    JsonRpcRequest New JsonRpcRequest notification instance.
    Type Parameters
    Name Description
    T

    NotificationWithMethod(String, IEnumerable<Object>)

    Creates a new JsonRpcRequest instance with the given method name, the provided positional parameters and no request ID.
    Declaration
    public static JsonRpcRequest NotificationWithMethod(string method, IEnumerable<object> positionalParameters)
    Parameters
    Type Name Description
    String method Name of RPC method.
    System.Collections.Generic.IEnumerable<Object> positionalParameters Enumerable of positional request parameters.
    Returns
    Type Description
    JsonRpcRequest New JsonRpcRequest notification instance.

    NotificationWithMethod(String, ICollection<Object>)

    Creates a new JsonRpcRequest instance with the given method name, the provided positional parameters and no request ID.
    Declaration
    public static JsonRpcRequest NotificationWithMethod(string method, ICollection<object> positionalParameters)
    Parameters
    Type Name Description
    String method Name of RPC method.
    System.Collections.Generic.ICollection<Object> positionalParameters Collection of positional request parameters.
    Returns
    Type Description
    JsonRpcRequest New JsonRpcRequest notification instance.

    NotificationWithMethod(String, IDictionary<String, Object>)

    Creates a new JsonRpcRequest instance with the given method name, the provided named parameters and no request ID.
    Declaration
    public static JsonRpcRequest NotificationWithMethod(string method, IDictionary<string, object> namedParameters)
    Parameters
    Type Name Description
    String method Name of RPC method.
    System.Collections.Generic.IDictionary<String, Object> namedParameters Dictionary of named request parameters.
    Returns
    Type Description
    JsonRpcRequest New JsonRpcRequest notification instance.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.