Share via


JsonRpcTargetOptions.EventNameTransform Property

Definition

Gets or sets a function that takes the CLR event name and returns the RPC event name used in notification messages. This method is useful for adding prefixes to all events, or making them camelCased.

public Func<string,string> EventNameTransform { get; set; }
public Func<string,string>? EventNameTransform { get; set; }
member this.EventNameTransform : Func<string, string> with get, set
Public Property EventNameTransform As Func(Of String, String)

Property Value

Applies to