Interface IVsSourceActions
The visual studio actions that support source models.
Namespace: CodeFactory.VisualStudio
Assembly: CodeFactory.VisualStudio.dll
Syntax
public interface IVsSourceActions
Methods
| Improve this Doc View SourceLoadDocumentFromSourceAsync(ICsSource)
Loads the IVsDocument model from the provided ICsSource model.
Declaration
Task<VsDocument> LoadDocumentFromSourceAsync(ICsSource source)
Parameters
Type | Name | Description |
---|---|---|
ICsSource | source | Model to load the document from. |
Returns
Type | Description |
---|---|
Task<VsDocument> | Loaded document model. |
Exceptions
Type | Condition |
---|---|
DocumentException | Exception that occurs while loading the document. |