WorkspacesExtensionMethods Class
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.
Container for client context at the time of a command invocation.
public static class WorkspacesExtensionMethods
type WorkspacesExtensionMethods = class
Public Module WorkspacesExtensionMethods
- Inheritance
-
WorkspacesExtensionMethods
Methods
AddExistingFileAsync(IProjectSnapshot, Uri, CancellationToken) |
Adds an existing file on disk to the project. |
GetActiveProjectAsync(IClientContext, CancellationToken) |
Gets the active project snapshot with Path information by default. This snapshot can be used to update the project starting with AsUpdatable extension method. |
GetActiveProjectAsync(IClientContext, Func<IAsyncQueryable<IProjectSnapshot>,IAsyncQueryable<IProjectSnapshot>>, CancellationToken) |
Gets the active project snapshot with Path and Files information and additional properties added in withModifier callback. This snapshot can be used to update the project starting with AsUpdatable extension method. |