1 write to Workspace
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
PasteTracking\PasteTrackingTestState.vb (1)
25
Workspace
= EditorTestWorkspace.CreateWorkspace(workspaceElement, composition:=composition)
11 references to Workspace
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (11)
PasteTracking\PasteTrackingTestState.vb (11)
26
PasteTrackingService =
Workspace
.GetService(Of PasteTrackingService)()
27
PasteTrackingPasteCommandHandler =
Workspace
.GetService(Of PasteTrackingPasteCommandHandler)()
28
FormatCommandHandler =
Workspace
.GetService(Of FormatCommandHandler)()
32
Dim hostDocument =
Workspace
.Documents.FirstOrDefault(Function(document) document.Project.Name = projectName AndAlso document.Name = fileName)
34
If
Workspace
.IsDocumentOpen(hostDocument.Id) Then
44
Workspace
.OpenDocument(hostDocument.Id)
50
Workspace
.CloseDocument(hostDocument.Id)
55
Dim editorOperations =
Workspace
.GetService(Of IEditorOperationsFactoryService)().GetEditorOperations(textView)
65
Dim editorOperations =
Workspace
.GetService(Of IEditorOperationsFactoryService)().GetEditorOperations(textView)
83
Dim document =
Workspace
.CurrentSolution.GetDocument(hostDocument.Id)
102
Workspace
.Dispose()