Interface IVsSourceActions
The visual studio actions that support source models.
Namespace: CodeFactory.WinVs.Models.ProjectSystem
Assembly: CodeFactory.WinVs.dll
Syntax
public interface IVsSourceActions
Methods
LoadDocumentFromSourceAsync(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. |