JsonRpcProxyOptions.MethodNameTransform Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a function that takes the CLR method name and returns the RPC method name. This method is useful for adding prefixes to all methods, or making them camelCased.
public Func<string,string> MethodNameTransform { get; set; }
member this.MethodNameTransform : Func<string, string> with get, set
Public Property MethodNameTransform As Func(Of String, String)
Property Value
A function, defaulting to a straight pass-through. Never null.
Exceptions
Thrown if set to a null value.