IEditorHostService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Rehydrates Editor RPC contracts into thick objects.
public interface IEditorHostService : IDisposable
type IEditorHostService = interface
interface IDisposable
Public Interface IEditorHostService
Implements IDisposable
- Implements
Remarks
Extensions should rarely need to interact with this service. Rather, it's merely supporting infrastructure for the frameworks composing the Visual Studio Extensibility system.
Methods
CreateActiveTextViewAsync(IReadOnlyDictionary<String,Object>, CancellationToken) |
Creates a new ITextViewSnapshot from the properties contained in |
CreatePositionAsync(Uri, Int32, TextPositionContract, CancellationToken) |
Creates a new TextPosition from a serializable Microsoft.VisualStudio.RpcContracts.Utilities.TextPositionContract RPC contract and other version metadata. |
CreatePositionAsync(VersionedTextDocumentPositionContract, CancellationToken) |
Creates a new TextPosition from a serializable Microsoft.VisualStudio.RpcContracts.Utilities.VersionedTextDocumentPositionContract RPC contract and other version metadata. |
CreateSpanAsync(Uri, Int32, Range, CancellationToken) |
Creates a new TextRange from a serializable Range RPC contract and other version metadata. |
CreateSpanAsync(VersionedTextDocumentRangeContract, CancellationToken) |
Creates a new TextRange from a serializable Range RPC contract and other version metadata. |
CreateTextDocumentAsync(TextDocumentContract, CancellationToken) |
Creates a new ITextDocumentSnapshot from a serializable Microsoft.VisualStudio.RpcContracts.Editor.TextDocumentContract RPC contract. |
CreateTextViewAsync(TextViewContract, CancellationToken) |
Creates a new ITextViewSnapshot from a serializable Microsoft.VisualStudio.RpcContracts.Editor.TextViewContract RPC contract. |