다음을 통해 공유


LanguageServerOutput.CreateNotification<T>(String, T) Method

Definition

Creates a new instance of LanguageServerOutput with the given notification.

public static Microsoft.PowerFx.LanguageServerProtocol.LanguageServerOutput CreateNotification<T>(string method, T notificationParams);
static member CreateNotification : string * 'T -> Microsoft.PowerFx.LanguageServerProtocol.LanguageServerOutput
Public Shared Function CreateNotification(Of T) (method As String, notificationParams As T) As LanguageServerOutput

Type Parameters

T

The type of the notification parameters.

Parameters

method
String

The method of the notification.

notificationParams
T

The notification parameters.

Returns

A new instance of LanguageServerOutput with the given notification.

Applies to