Table of Contents

Class CommonMethodNameTransforms

Namespace
StreamJsonRpc
Assembly
StreamJsonRpc.dll

Common RPC method transform functions that may be supplied to AddLocalRpcTarget(object, JsonRpcTargetOptions?) by way of MethodNameTransform.

public static class CommonMethodNameTransforms
Inheritance
CommonMethodNameTransforms
Inherited Members

Properties

CamelCase

Gets a function that converts a given string from PascalCase to camelCase.

public static Func<string, string> CamelCase { get; }

Property Value

Func<string, string>

Methods

Prepend(string)

Gets a function that prepends a particular string in front of any RPC method name.

public static Func<string, string> Prepend(string prefix)

Parameters

prefix string

The prefix to prepend to any method name. This value must not be null. When this value is the empty string, no transformation is performed by the returned function.

Returns

Func<string, string>

The transform function.