Condividi tramite


JsonRpcProxyOptions.MethodNameTransform Proprietà

Definizione

Ottiene o imposta una funzione che accetta il nome del metodo CLR e restituisce il nome del metodo RPC. Questo metodo è utile per aggiungere prefissi a tutti i metodi o renderli 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)

Valore della proprietà

Funzione, impostazione predefinita in un pass-through dritto. Mai null.

Eccezioni

Generata se impostata su un valore Null.

Si applica a