public SolutionServices(Workspace workspace) { this.Workspace = workspace; this.TemporaryStorage = workspace.Services.GetService<ITemporaryStorageService>(); this.TextFactory = workspace.Services.GetService<ITextFactoryService>(); this.TextCache = workspace.Services.GetService<ITextCacheService>(); this.CompilationCacheService = workspace.Services.GetService<ICompilationCacheService>(); this.MetadataReferenceProviderService = workspace.Services.GetService<IMetadataReferenceProviderService>(); }
public SolutionServices(Workspace workspace) { this.Workspace = workspace; this.TemporaryStorage = workspace.Services.GetService <ITemporaryStorageService>(); this.TextFactory = workspace.Services.GetService <ITextFactoryService>(); this.TextCache = workspace.Services.GetService <ITextCacheService>(); this.CompilationCacheService = workspace.Services.GetService <ICompilationCacheService>(); this.MetadataReferenceProviderService = workspace.Services.GetService <IMetadataReferenceProviderService>(); }
public SolutionServices(Workspace workspace, IWorkspaceServiceProvider workspaceServices) { this.Workspace = workspace; this.WorkspaceServices = workspaceServices; this.LanguageServicesFactory = WorkspaceServices.GetService<ILanguageServiceProviderFactory>(); this.TemporaryStorage = WorkspaceServices.GetService<ITemporaryStorageService>(); this.TextFactory = WorkspaceServices.GetService<ITextFactoryService>(); this.TextCache = WorkspaceServices.GetService<ITextCacheService>(); this.CompilationCacheService = WorkspaceServices.GetService<ICompilationCacheService>(); this.MetadataReferenceProvider = WorkspaceServices.GetService<IMetadataReferenceProviderService>().GetProvider(); }
public SolutionServices(Workspace workspace, IWorkspaceServiceProvider workspaceServices) { this.Workspace = workspace; this.WorkspaceServices = workspaceServices; this.LanguageServicesFactory = WorkspaceServices.GetService <ILanguageServiceProviderFactory>(); this.TemporaryStorage = WorkspaceServices.GetService <ITemporaryStorageService>(); this.TextFactory = WorkspaceServices.GetService <ITextFactoryService>(); this.TextCache = WorkspaceServices.GetService <ITextCacheService>(); this.CompilationCacheService = WorkspaceServices.GetService <ICompilationCacheService>(); this.MetadataReferenceProvider = WorkspaceServices.GetService <IMetadataReferenceProviderService>().GetProvider(); }