Table of Contents

Class LogicalExpressionParserOptions

Namespace
NCalc.Parser
Assembly
NCalc.Parser.dll

Options for configuring the LogicalExpressionParser behavior.

public sealed record LogicalExpressionParserOptions : IEquatable<LogicalExpressionParserOptions>
Inheritance
LogicalExpressionParserOptions
Implements
Inherited Members

Constructors

LogicalExpressionParserOptions()

public LogicalExpressionParserOptions()

LogicalExpressionParserOptions(CultureInfo, LogicalExpressionArgumentSeparator)

public LogicalExpressionParserOptions(CultureInfo cultureInfo, LogicalExpressionArgumentSeparator separator)

Parameters

cultureInfo CultureInfo
separator LogicalExpressionArgumentSeparator

Properties

AllowCharValues

public bool AllowCharValues { get; init; }

Property Value

bool

ArgumentSeparator

The argument separator used to separate function arguments. Default is Comma.

public LogicalExpressionArgumentSeparator ArgumentSeparator { get; init; }

Property Value

LogicalExpressionArgumentSeparator

CultureInfo

The culture info used for parsing expressions.

public CultureInfo CultureInfo { get; init; }

Property Value

CultureInfo

DecimalAsDefault

public bool DecimalAsDefault { get; init; }

Property Value

bool

LongAsDefault

public bool LongAsDefault { get; init; }

Property Value

bool