Partager via


IPropertyEvaluatorService.CreateConfiguredPropertyEvaluator Method

Definition

Create a IConfiguredPropertyEvaluator that will aggragate the all available property providers. Useful to pass around across different consumers, that may not need to know how property provides were selected.

public:
 Microsoft::VisualStudio::Workspace::Evaluator::IConfiguredPropertyEvaluator ^ CreateConfiguredPropertyEvaluator(System::String ^ fileScopePath, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ inheritEnvironments, System::Collections::Generic::IEnumerable<Tuple<Microsoft::VisualStudio::Workspace::Evaluator::IPropertyEvaluator ^, Microsoft::VisualStudio::Workspace::Evaluator::IPropertyEvaluatorMetadata ^> ^> ^ localPropertyEvaluators);
public Microsoft.VisualStudio.Workspace.Evaluator.IConfiguredPropertyEvaluator CreateConfiguredPropertyEvaluator (string fileScopePath, System.Collections.Generic.IReadOnlyCollection<string> inheritEnvironments, System.Collections.Generic.IEnumerable<Tuple<Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluator,Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluatorMetadata>> localPropertyEvaluators);
public Microsoft.VisualStudio.Workspace.Evaluator.IConfiguredPropertyEvaluator CreateConfiguredPropertyEvaluator (string fileScopePath, System.Collections.Generic.IReadOnlyCollection<string>? inheritEnvironments, System.Collections.Generic.IEnumerable<Tuple<Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluator,Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluatorMetadata>>? localPropertyEvaluators);
abstract member CreateConfiguredPropertyEvaluator : string * System.Collections.Generic.IReadOnlyCollection<string> * seq<Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluator * Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluatorMetadata> -> Microsoft.VisualStudio.Workspace.Evaluator.IConfiguredPropertyEvaluator
Public Function CreateConfiguredPropertyEvaluator (fileScopePath As String, inheritEnvironments As IReadOnlyCollection(Of String), localPropertyEvaluators As IEnumerable(Of Tuple(Of IPropertyEvaluator, IPropertyEvaluatorMetadata))) As IConfiguredPropertyEvaluator

Parameters

fileScopePath
String

The file scope context

inheritEnvironments
IReadOnlyCollection<String>

Optional collection of environments to pass to providers

localPropertyEvaluators
IEnumerable<Tuple<IPropertyEvaluator,IPropertyEvaluatorMetadata>>

Local scope property valuators

Returns

the updated IConfiguredPropertyEvaluator object

Applies to