Extensions
AsText(ITextSnapshot)
AsTextContainer(ITextBuffer)
FindCorrespondingEditorTextSnapshot(SourceText)
GetOpenDocumentInCurrentContextWithChanges(ITextSnapshot)
GetRelatedDocuments(ITextBuffer)
GetRelatedDocumentsWithChanges(ITextSnapshot)
GetTextBuffer(SourceTextContainer)
GetWorkspace(ITextBuffer)
TryGetTextBuffer(SourceTextContainer)
net10.0
namespace Microsoft.CodeAnalysis.Text
{
public static class Extensions
{
public static Workspace? GetWorkspace(this ITextBuffer! buffer);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 8.09.010.0 |
Information specific to net10.0 | |
| Assembly | Microsoft.CodeAnalysis.EditorFeatures.Text , Version=4.14.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.CodeAnalysis.EditorFeatures.Text (4.14.0) net8.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API