Table of Contents

Class LogicalExpressionFactory

Namespace
NCalc.Factories
Assembly
NCalc.Core.dll

Class responsible to create LogicalExpression objects. Parlot is used for parsing strings.

public sealed class LogicalExpressionFactory : ILogicalExpressionFactory
Inheritance
LogicalExpressionFactory
Implements
Inherited Members

Constructors

LogicalExpressionFactory(ILogger<LogicalExpressionFactory>)

Class responsible to create LogicalExpression objects. Parlot is used for parsing strings.

public LogicalExpressionFactory(ILogger<LogicalExpressionFactory> logger)

Parameters

logger ILogger<LogicalExpressionFactory>

Methods

Create(string, ExpressionOptions)

public static LogicalExpression Create(string expression, ExpressionOptions options = ExpressionOptions.None)

Parameters

expression string
options ExpressionOptions

Returns

LogicalExpression

GetInstance()

public static LogicalExpressionFactory GetInstance()

Returns

LogicalExpressionFactory