JsonRpcTargetOptions.EventNameTransform 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 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)