LanguageServerOutput.CreateNotification<T>(String, T) Method
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.
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.