Table of Contents

Class DefaultExpressionProvider

Namespace
JJMasterData.Core.DataManager.Expressions.Providers
Assembly
JJMasterData.Core.dll
public sealed class DefaultExpressionProvider : ISyncExpressionProvider, IAsyncExpressionProvider, IExpressionProvider
Inheritance
DefaultExpressionProvider
Implements
Inherited Members

Constructors

DefaultExpressionProvider(IExpressionFactory, IServiceProvider, IOptions<MasterDataCoreOptions>)

public DefaultExpressionProvider(IExpressionFactory expressionFactory, IServiceProvider serviceProvider, IOptions<MasterDataCoreOptions> options)

Parameters

expressionFactory IExpressionFactory
serviceProvider IServiceProvider
options IOptions<MasterDataCoreOptions>

Properties

ConnectionId

public Guid? ConnectionId { get; set; }

Property Value

Guid?

Prefix

public string Prefix { get; }

Property Value

string

Title

public string Title { get; }

Property Value

string

Methods

Evaluate(string, Dictionary<string, object?>)

public object? Evaluate(string expression, Dictionary<string, object?> parsedValues)

Parameters

expression string
parsedValues Dictionary<string, object>

Returns

object

EvaluateAsync(string, Dictionary<string, object?>)

public ValueTask<object?> EvaluateAsync(string expression, Dictionary<string, object?> parsedValues)

Parameters

expression string
parsedValues Dictionary<string, object>

Returns

ValueTask<object>