WorkspaceServiceHelper.GetPropertyEvaluatorServiceAsync(IWorkspace) Method
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.
Get the IPropertyEvaluatorService for a workspace.
public:
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<Microsoft::VisualStudio::Workspace::Evaluator::IPropertyEvaluatorService ^> ^ GetPropertyEvaluatorServiceAsync(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluatorService> GetPropertyEvaluatorServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluatorService?> GetPropertyEvaluatorServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetPropertyEvaluatorServiceAsync : Microsoft.VisualStudio.Workspace.IWorkspace -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluatorService>
<Extension()>
Public Function GetPropertyEvaluatorServiceAsync (workspace As IWorkspace) As Task(Of IPropertyEvaluatorService)
Parameters
- workspace
- IWorkspace
workspace instance.
Returns
A Task representing the asynchronous operation whose result is either an instance of ICustomContextService or null.