Condividi tramite


JsonRpcTargetOptions.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; }
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à

Si applica a