IPropertyEvaluatorService Interface

Definition

Interface to expose a service that is able to evaluate a content and resolve all their ${prefix.Var}

public interface class IPropertyEvaluatorService
public interface class IPropertyEvaluatorService
__interface IPropertyEvaluatorService
public interface IPropertyEvaluatorService
type IPropertyEvaluatorService = interface
Public Interface IPropertyEvaluatorService

Properties

OnPropertyVariablesChanged

Notifies when property variables are changed

Methods

CreateConfiguredPropertyEvaluator(String, IReadOnlyCollection<String>, IEnumerable<Tuple<IPropertyEvaluator,IPropertyEvaluatorMetadata>>)

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.

CreatePropertyGroupEvaluator(IReadOnlyCollection<PropertyGroup>)

Create property evaluator based on a collection of PropertyVariable(s)

CreatePropertySettingsEvaluator(IPropertySettings, Int32, Int32)

Create a property evaluator based on a IPropertySettings source

CreateWorkspaceSettingsSourceEvaluator(IWorkspaceSettingsSource, Int32, Int32)

Create a property evaluator based on a IWorkspaceSettingsSource source

Evaluate(String, String, IReadOnlyCollection<String>, IEnumerable<Tuple<IPropertyEvaluator,IPropertyEvaluatorMetadata>>)

Evaluate a content and resolve all possible ${prefix.var} instances found

GetProperties(String, IReadOnlyCollection<String>)

Get all properties that are available for a namespace and context

GetPropertyEvaluators(String)

Return the providers that match a filter criteria

ParsePropertyGroups(IPropertySettings[], GroupDefaultOptions)

Parse a collection of IPropertySettings

ParsePropertyGroups(IWorkspaceSettingsSource[], GroupDefaultOptions)

Parse a collection of IWorkspaceSettingsSource

ParsePropertyGroups(String, GroupDefaultOptions)

Parse a JSON content of property groups

SelectPropertyEvaluators(PropertyContext, IEnumerable<Tuple<IPropertyEvaluator,IPropertyEvaluatorMetadata>>)

Return the matching properties for a property context

Extension Methods

EvaluateNoError(IPropertyEvaluatorService, String, String, IReadOnlyCollection<String>, Tuple<IPropertyEvaluator,IPropertyEvaluatorMetadata>[])

Evaluate a content and return the partial evaluation ignoring any possible error

EvaluateVariable(IPropertyEvaluatorService, String, String, String, IReadOnlyCollection<String>, Tuple<IPropertyEvaluator,IPropertyEvaluatorMetadata>[])

Evaluate a single property

Applies to