2 instantiations of LanguageServerEndpoint
Microsoft.CommonLanguageServerProtocol.Framework.Package (2)
Handlers\InitializedHandler.cs (1)
14[LanguageServerEndpoint("initialized", LanguageServerConstants.DefaultLanguageName)]
Handlers\InitializeHandler.cs (1)
13[LanguageServerEndpoint("initialize", LanguageServerConstants.DefaultLanguageName)]
9 references to LanguageServerEndpoint
Microsoft.CommonLanguageServerProtocol.Framework.Package (9)
LanguageServerConstants.cs (1)
13/// Default language name for use with <see cref="LanguageServerEndpointAttribute"/> and <see cref="AbstractHandlerProvider.GetMethodHandler"/>.
MethodHandlerDetails.cs (8)
103var methodAttribute = GetMethodAttributeFromClassOrInterface(handlerType); 110throw new InvalidOperationException($"{handlerType.FullName} is missing {nameof(LanguageServerEndpointAttribute)}"); 116static LanguageServerEndpointAttribute? GetMethodAttributeFromHandlerMethod(Type handlerType, Type? requestType, Type contextType, Type? responseType) 126return methodInfo.GetCustomAttribute<LanguageServerEndpointAttribute>(); 178static LanguageServerEndpointAttribute? GetMethodAttributeFromClassOrInterface(Type type) 180var attribute = Attribute.GetCustomAttribute(type, typeof(LanguageServerEndpointAttribute)) as LanguageServerEndpointAttribute;