Table of Contents

Class AsyncExpressionFactory

Namespace
NCalc.Factories
Assembly
NCalc.Async.dll

Default IAsyncExpressionFactory implementation.

public sealed class AsyncExpressionFactory : IAsyncExpressionFactory
Inheritance
AsyncExpressionFactory
Implements
Inherited Members

Constructors

AsyncExpressionFactory(ILogicalExpressionFactory, ILogicalExpressionCache, IAsyncEvaluationService)

Default IAsyncExpressionFactory implementation.

public AsyncExpressionFactory(ILogicalExpressionFactory logicalExpressionFactory, ILogicalExpressionCache cache, IAsyncEvaluationService evaluationService)

Parameters

logicalExpressionFactory ILogicalExpressionFactory
cache ILogicalExpressionCache
evaluationService IAsyncEvaluationService

Methods

Create(LogicalExpression, AsyncExpressionContext?)

public AsyncExpression Create(LogicalExpression logicalExpression, AsyncExpressionContext? expressionContext = null)

Parameters

logicalExpression LogicalExpression
expressionContext AsyncExpressionContext

Returns

AsyncExpression

Create(string, AsyncExpressionContext?)

public AsyncExpression Create(string expression, AsyncExpressionContext? expressionContext = null)

Parameters

expression string
expressionContext AsyncExpressionContext

Returns

AsyncExpression