Exemplo n.º 1
0
 public XamlRequestDispatcherFactory(
     XamlProjectService projectService,
     [Import(AllowDefault = true)] IXamlLanguageServerFeedbackService?feedbackService)
 {
     _projectService  = projectService;
     _feedbackService = feedbackService;
 }
Exemplo n.º 2
0
 public XamlRequestDispatcher(
     XamlProjectService projectService,
     LspServices services,
     IXamlLanguageServerFeedbackService?feedbackService) : base(services)
 {
     _projectService  = projectService;
     _feedbackService = feedbackService;
 }
 public XamlRequestDispatcher(
     XamlProjectService projectService,
     ImmutableArray <Lazy <AbstractRequestHandlerProvider, RequestHandlerProviderMetadataView> > requestHandlerProviders,
     IXamlLanguageServerFeedbackService?feedbackService,
     ImmutableArray <string> languageNames) : base(requestHandlerProviders, languageNames)
 {
     _projectService  = projectService;
     _feedbackService = feedbackService;
 }
 public XamlRequestDispatcherFactory(
     [ImportMany] IEnumerable <Lazy <AbstractRequestHandlerProvider, RequestHandlerProviderMetadataView> > requestHandlerProviders,
     XamlProjectService projectService,
     [Import(AllowDefault = true)] IXamlLanguageServerFeedbackService?feedbackService)
     : base(requestHandlerProviders)
 {
     _projectService  = projectService;
     _feedbackService = feedbackService;
 }
Exemplo n.º 5
0
 public XamlRequestDispatcher(
     XamlProjectService projectService,
     ImmutableArray <Lazy <IRequestHandlerProvider, RequestHandlerProviderMetadataView> > requestHandlerProviders,
     IXamlLanguageServerFeedbackService?feedbackService,
     WellKnownLspServerKinds serverKind) : base(requestHandlerProviders, serverKind)
 {
     _projectService  = projectService;
     _feedbackService = feedbackService;
 }
 public XamlLanguageServerProtocol(
     [ImportMany] IEnumerable <Lazy <IRequestHandler, IRequestHandlerMetadata> > requestHandlers,
     XamlProjectService projectService,
     [Import(AllowDefault = true)] IXamlLanguageServerFeedbackService?feedbackService)
     : base(requestHandlers, languageName: StringConstants.XamlLanguageName)
 {
     _projectService  = projectService;
     _feedbackService = feedbackService;
 }
Exemplo n.º 7
0
 public XamlSolutionProvider(ILspSolutionProvider lspSolutionProvider, XamlProjectService projectService)
 {
     _solutionProvider = lspSolutionProvider;
     _projectService   = projectService;
 }
Exemplo n.º 8
0
 public XamlLanguageServerProtocol([ImportMany] IEnumerable <Lazy <IRequestHandler, IRequestHandlerMetadata> > requestHandlers, XamlProjectService projectService)
     : base(requestHandlers, languageName: StringConstants.XamlLanguageName)
 {
     _projectService = projectService;
 }