コード例 #1
0
        public IWorkspaceService CreateService(HostWorkspaceServices workspaceServices)
        {
            var hostService = workspaceServices.GetService <IProjectCacheHostService>();

            return(new Service(hostService));
        }
コード例 #2
0
        public IWorkspaceService CreateService(HostWorkspaceServices workspaceServices)
        {
            var textFactory = workspaceServices.GetService <ITextFactoryService>();

            return(new TemporaryStorageService(textFactory));
        }
コード例 #3
0
 public IWorkspaceService CreateService(HostWorkspaceServices workspaceServices)
 {
     return(new Service(workspaceServices.GetService <IDocumentationProviderService>()));
 }