IWorkspace2 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.
Interface to extend IWorkspace.
public interface class IWorkspace2 : IServiceProvider, Microsoft::VisualStudio::Threading::IAsyncDisposable, Microsoft::VisualStudio::Workspace::IWorkspace
public interface class IWorkspace2 : Microsoft::VisualStudio::Threading::IAsyncDisposable, Microsoft::VisualStudio::Workspace::IWorkspace
__interface IWorkspace2 : Microsoft::VisualStudio::Threading::IAsyncDisposable, Microsoft::VisualStudio::Workspace::IWorkspace
public interface IWorkspace2 : IServiceProvider, Microsoft.VisualStudio.Threading.IAsyncDisposable, Microsoft.VisualStudio.Workspace.IWorkspace
type IWorkspace2 = interface
interface IWorkspace
interface IServiceProvider
interface IAsyncServiceProvider
interface IAsyncDisposable
Public Interface IWorkspace2
Implements IAsyncDisposable, IServiceProvider, IWorkspace
- Derived
- Implements
Properties
DisposeToken |
The workspace dispose token |
JTF |
Instance of |
Location |
Gets the path to the root directory of the source tree. (Inherited from IWorkspace) |
Methods
DisposeAsync() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously. (Inherited from IAsyncDisposable) |
GetActionsForContextsAsync(String, IEnumerable<FileContext>, CancellationToken) |
Gets actions that apply to a set of file contexts (Inherited from IWorkspace) |
GetDirectoriesAsync(String, Boolean, CancellationToken) |
Gets a set of directories within the workspace. (Inherited from IWorkspace) |
GetFileContextActionsAsync(String, IEnumerable<Guid>, CancellationToken) |
Gets the actions available at the specified path. (Inherited from IWorkspace) |
GetFileContextActionsAsync<T>(String, T, IEnumerable<Guid>, CancellationToken) |
Gets the actions available on a workspace context (Inherited from IWorkspace) |
GetFileContextsAsync(String, IEnumerable<Guid>, CancellationToken) |
Gets the file contexts associated with the specified workspace location. (Inherited from IWorkspace) |
GetFileContextsAsync<T>(String, T, IEnumerable<Guid>, CancellationToken) |
Get file contexts for a workspace context (Inherited from IWorkspace) |
GetFileContextsForLanguageServicesAsync(String, CancellationToken) |
Return matched ILanguageServiceProvider's for a file context path (Inherited from IWorkspace) |
GetFilesAsync(String, Boolean, CancellationToken) |
Gets a set of files within the workspace. (Inherited from IWorkspace) |
GetServiceAsync(Type) |
Get the service (Inherited from IAsyncServiceProvider) |
MakeRelative(String) |
Converts an absolute path to a path relative to the root of this workspace. (Inherited from IWorkspace) |
MakeRooted(String) |
Gets the absolute path for a given path, which may be relative to Workspace.Location. (Inherited from IWorkspace) |
Extension Methods
GetFirstFileContextActionAsync<T>(IWorkspace, String, T, IEnumerable<Guid>, CancellationToken) |
Get the first available action for a workspace context |
GetFirstFileContextsAsync<T>(IWorkspace, String, T, IEnumerable<Guid>, CancellationToken) |
Get the first available context for a workspace context |
GetGlobalSettingsFolder(IWorkspace) |
Get the working folder for this workspace |
GetWorkspaceWorkingFolder(IWorkspace) |
Get the working folder for this workspace |
MakeRootedUnderWorkingFolder(IWorkspace, String) |
Get a full path under workspace working folder. |
GetAssetsManager(IWorkspace) |
Get the IAssetsAccessManager for a workspace. |
GetAssetsManagerAsync(IWorkspace) |
Get the IAssetsAccessManager for a workspace. |
GetBuildMessageService(IWorkspace) |
Get the IBuildMessageService for a workspace. |
GetBuildMessageServiceAsync(IWorkspace) |
Get the IBuildMessageService for a workspace. |
GetBuildService(IWorkspace) |
Get the IBuildService for a workspace. |
GetBuildService2(IWorkspace) |
Get the IBuildService2 for a workspace. |
GetBuildService2Async(IWorkspace) |
Get the IBuildService2 for a workspace. |
GetBuildService3(IWorkspace) |
Get the IBuildService3 for a workspace. |
GetBuildService3Async(IWorkspace) |
Get the IBuildService3 for a workspace. |
GetBuildServiceAsync(IWorkspace) |
Get the IBuildService for a workspace. |
GetCustomContextService(IWorkspace) |
Get the ICustomContextService for a workspace. |
GetCustomContextServiceAsync(IWorkspace) |
Get the ICustomContextService service for a workspace. |
GetFileWatcherService(IWorkspace) |
Get the IFileWatcherService for a workspace. |
GetFileWatcherServiceAsync(IWorkspace) |
Get the IFileWatcherService for a workspace. |
GetFindFilesService(IWorkspace) |
Get the IFindFilesService service for a workspace. |
GetFindFilesServiceAsync(IWorkspace) |
Get the IFindFilesService service for a workspace. |
GetIndexWorkspaceDataService(IWorkspace) |
Get the IIndexWorkspaceDataService for a workspace instance. |
GetIndexWorkspaceDataServiceAsync(IWorkspace) |
Get the IIndexWorkspaceDataService for a workspace instance. |
GetIndexWorkspaceService(IWorkspace) |
Get the IIndexWorkspaceService for a workspace instance. |
GetIndexWorkspaceServiceAsync(IWorkspace) |
Get the IIndexWorkspaceService for a workspace instance. |
GetProjectConfigurationServiceAsync(IWorkspace) |
Get the IProjectConfigurationManager for a workspace. |
GetPropertyEvaluatorServiceAsync(IWorkspace) |
Get the IPropertyEvaluatorService for a workspace. |
GetService<T>(IWorkspace, Boolean) |
Get a service type from a workspace |
GetServiceAsync<T>(IWorkspace, Boolean) |
Get a service type from a workspace using the async pattern |
GetSettingsManager(IWorkspace) |
Get the IWorkspaceSettingsManager service for a workspace. |
GetSettingsManagerAsync(IWorkspace) |
Get the IWorkspaceSettingsManager service for a workspace. |
GetUINodeOperationEventServiceAsync(IWorkspace) |
Get the IUINodeOperationEventService for a workspace. |