public static LspHandlerDescriptorDisposable Add(this ILanguageServer collection, IEnumerable <IJsonRpcHandler> handlers) => collection.Add(handlers.ToArray());
public static LspHandlerDescriptorDisposable Add(this ILanguageServer collection, IEnumerable <Type> handlerTypes) { return(collection.Add(handlerTypes.ToArray())); }
public static IDisposable Add(this ILanguageServer collection, IEnumerable <IJsonRpcHandler> handlers) { return(collection.Add(handlers.ToArray())); }