Workspace
Workspace(HostServices, String)
CanOpenDocuments
CurrentSolution
Kind
Options
PartialSemanticsEnabled
Services
AdjustReloadedProject(Project, Project)
AdjustReloadedSolution(Solution, Solution)
ApplyAdditionalDocumentAdded(DocumentInfo, SourceText)
ApplyAdditionalDocumentRemoved(DocumentId)
ApplyAdditionalDocumentTextChanged(DocumentId, SourceText)
ApplyAnalyzerConfigDocumentAdded(DocumentInfo, SourceText)
ApplyAnalyzerConfigDocumentRemoved(DocumentId)
ApplyAnalyzerConfigDocumentTextChanged(DocumentId, SourceText)
ApplyAnalyzerReferenceAdded(ProjectId, AnalyzerReference)
ApplyAnalyzerReferenceRemoved(ProjectId, AnalyzerReference)
ApplyCompilationOptionsChanged(ProjectId, CompilationOptions)
ApplyDocumentAdded(DocumentInfo, SourceText)
ApplyDocumentInfoChanged(DocumentId, DocumentInfo)
ApplyDocumentRemoved(DocumentId)
ApplyDocumentTextChanged(DocumentId, SourceText)
ApplyMetadataReferenceAdded(ProjectId, MetadataReference)
ApplyMetadataReferenceRemoved(ProjectId, MetadataReference)
ApplyParseOptionsChanged(ProjectId, ParseOptions)
ApplyProjectAdded(ProjectInfo)
ApplyProjectChanges(ProjectChanges)
ApplyProjectReferenceAdded(ProjectId, ProjectReference)
ApplyProjectReferenceRemoved(ProjectId, ProjectReference)
ApplyProjectRemoved(ProjectId)
CanApplyChange(ApplyChangesKind)
CanApplyCompilationOptionChange(CompilationOptions, CompilationOptions, Project)
CanApplyParseOptionChange(ParseOptions, ParseOptions, Project)
CheckAdditionalDocumentIsInCurrentSolution(DocumentId)
CheckAdditionalDocumentIsNotInCurrentSolution(DocumentId)
CheckAnalyzerConfigDocumentIsInCurrentSolution(DocumentId)
CheckAnalyzerConfigDocumentIsNotInCurrentSolution(DocumentId)
CheckCanOpenDocuments()
CheckDocumentCanBeRemoved(DocumentId)
CheckDocumentIsClosed(DocumentId)
CheckDocumentIsInCurrentSolution(DocumentId)
CheckDocumentIsNotInCurrentSolution(DocumentId)
CheckDocumentIsOpen(DocumentId)
CheckProjectCanBeRemoved(ProjectId)
CheckProjectDoesNotContainOpenDocuments(ProjectId)
CheckProjectDoesNotHaveAnalyzerReference(ProjectId, AnalyzerReference)
CheckProjectDoesNotHaveMetadataReference(ProjectId, MetadataReference)
CheckProjectDoesNotHaveProjectReference(ProjectId, ProjectReference)
CheckProjectDoesNotHaveTransitiveProjectReference(ProjectId, ProjectId)
CheckProjectHasAnalyzerReference(ProjectId, AnalyzerReference)
CheckProjectHasMetadataReference(ProjectId, MetadataReference)
CheckProjectHasProjectReference(ProjectId, ProjectReference)
CheckProjectIsInCurrentSolution(ProjectId)
CheckProjectIsNotInCurrentSolution(ProjectId)
CheckSolutionIsEmpty()
ClearDocumentData(DocumentId)
ClearOpenDocument(DocumentId)
ClearOpenDocument(DocumentId, Boolean)
ClearProjectData(ProjectId)
ClearSolution()
ClearSolutionData()
CloseAdditionalDocument(DocumentId)
CloseAnalyzerConfigDocument(DocumentId)
CloseDocument(DocumentId)
CreateSolution(SolutionId)
CreateSolution(SolutionInfo)
Dispose()
Dispose(Boolean)
GetAdditionalDocumentName(DocumentId)
GetAnalyzerConfigDocumentName(DocumentId)
GetDocumentIdInCurrentContext(SourceTextContainer)
GetDocumentName(DocumentId)
GetOpenDocumentIds(ProjectId)
GetProjectName(ProjectId)
GetRelatedDocumentIds(SourceTextContainer)
GetWorkspaceRegistration(SourceTextContainer)
IsDocumentOpen(DocumentId)
OnAdditionalDocumentAdded(DocumentInfo)
OnAdditionalDocumentClosed(DocumentId, TextLoader)
OnAdditionalDocumentOpened(DocumentId, SourceTextContainer, Boolean)
OnAdditionalDocumentRemoved(DocumentId)
OnAdditionalDocumentTextChanged(DocumentId, SourceText, PreservationMode)
OnAdditionalDocumentTextLoaderChanged(DocumentId, TextLoader)
OnAnalyzerConfigDocumentAdded(DocumentInfo)
OnAnalyzerConfigDocumentClosed(DocumentId, TextLoader)
OnAnalyzerConfigDocumentOpened(DocumentId, SourceTextContainer, Boolean)
OnAnalyzerConfigDocumentRemoved(DocumentId)
OnAnalyzerConfigDocumentTextChanged(DocumentId, SourceText, PreservationMode)
OnAnalyzerConfigDocumentTextLoaderChanged(DocumentId, TextLoader)
OnAnalyzerReferenceAdded(ProjectId, AnalyzerReference)
OnAnalyzerReferenceRemoved(ProjectId, AnalyzerReference)
OnAssemblyNameChanged(ProjectId, String)
OnCompilationOptionsChanged(ProjectId, CompilationOptions)
OnDocumentAdded(DocumentInfo)
OnDocumentClosed(DocumentId, TextLoader, Boolean)
OnDocumentClosing(DocumentId)
OnDocumentContextUpdated(DocumentId)
OnDocumentInfoChanged(DocumentId, DocumentInfo)
OnDocumentOpened(DocumentId, SourceTextContainer, Boolean)
OnDocumentReloaded(DocumentInfo)
OnDocumentRemoved(DocumentId)
OnDocumentsAdded(ImmutableArray<DocumentInfo>)
OnDocumentSourceCodeKindChanged(DocumentId, SourceCodeKind)
OnDocumentTextChanged(Document)
OnDocumentTextChanged(DocumentId, SourceText, PreservationMode)
OnDocumentTextLoaderChanged(DocumentId, TextLoader)
OnMetadataReferenceAdded(ProjectId, MetadataReference)
OnMetadataReferenceRemoved(ProjectId, MetadataReference)
OnOutputFilePathChanged(ProjectId, String)
OnOutputRefFilePathChanged(ProjectId, String)
OnParseOptionsChanged(ProjectId, ParseOptions)
OnProjectAdded(ProjectInfo)
OnProjectNameChanged(ProjectId, String, String)
OnProjectReferenceAdded(ProjectId, ProjectReference)
OnProjectReferenceRemoved(ProjectId, ProjectReference)
OnProjectReloaded(ProjectInfo)
OnProjectRemoved(ProjectId)
OnSolutionAdded(SolutionInfo)
OnSolutionReloaded(SolutionInfo)
OnSolutionRemoved()
OnWorkspaceFailed(WorkspaceDiagnostic)
OpenAdditionalDocument(DocumentId, Boolean)
OpenAnalyzerConfigDocument(DocumentId, Boolean)
OpenDocument(DocumentId, Boolean)
RaiseDocumentActiveContextChangedEventAsync(Document)
RaiseDocumentActiveContextChangedEventAsync(SourceTextContainer, DocumentId, DocumentId)
RaiseDocumentClosedEventAsync(Document)
RaiseDocumentOpenedEventAsync(Document)
RaiseTextDocumentClosedEventAsync(TextDocument)
RaiseTextDocumentOpenedEventAsync(TextDocument)
RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind, Solution, Solution, ProjectId, DocumentId)
RegisterText(SourceTextContainer)
ScheduleTask(Action, String)
ScheduleTask<T>(Func<T>, String)
SetCurrentSolution(Solution)
TryApplyChanges(Solution)
TryGetWorkspace(SourceTextContainer, Workspace)
UnregisterText(SourceTextContainer)
UpdateReferencesAfterAdd()
DocumentActiveContextChanged
DocumentClosed
DocumentOpened
TextDocumentClosed
TextDocumentOpened
WorkspaceChanged
WorkspaceFailed
xamarinios
namespace Microsoft.CodeAnalysis
{
public abstract class Workspace : IDisposable
{
[Obsolete("This member is obsolete. Use the RaiseDocumentActiveContextChangedEventAsync(SourceTextContainer, DocumentId, DocumentId) overload instead.", true)]
protected Task RaiseDocumentActiveContextChangedEventAsync(Document document);
}
}
.NET | 5.06.07.08.09.010.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to xamarinios | |
Assembly | Microsoft.CodeAnalysis.Workspaces , Version=4.13.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Microsoft.CodeAnalysis.Workspaces.Common (4.13.0) netstandard2.0 |
Obsolete | This member is obsolete. Use the RaiseDocumentActiveContextChangedEventAsync(SourceTextContainer, DocumentId, DocumentId) overload instead. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API