LanguageServerOutputBuilder Class
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.
An output builder to build Language Server Output. Lifecycle: A new instance of the builder should be created for each request. Can hold more than one output and also different types of outputs. Request/Notification Hanlders are free to add multiple outputs to the builder.
public class LanguageServerOutputBuilder : System.Collections.Generic.IEnumerable<Microsoft.PowerFx.LanguageServerProtocol.LanguageServerOutput>
type LanguageServerOutputBuilder = class
interface seq<LanguageServerOutput>
interface IEnumerable
Public Class LanguageServerOutputBuilder
Implements IEnumerable(Of LanguageServerOutput)
- Inheritance
-
LanguageServerOutputBuilder
- Implements
Constructors
| LanguageServerOutputBuilder() |
Properties
| Response |
A serialized output created from all the outputs in the builder. |
| Size | |
Methods
| AddErrorResponse(String, JsonRpcHelper+ErrorCode, String) |
Add an error response. |
| AddNotification<T>(String, T) |
Add a notification. |
| AddSuccessResponse<T>(String, T) |
Add a success response with the result. |
| GetEnumerator() | |
Explicit Interface Implementations
| IEnumerable.GetEnumerator() |