JsonRpcProxyOptions.MethodNameTransform Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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.