Table of Contents

Class LogicalExpressionCache

Namespace
NCalc.Cache
Assembly
NCalc.Core.dll
public sealed class LogicalExpressionCache : ILogicalExpressionCache
Inheritance
LogicalExpressionCache
Implements
Inherited Members

Constructors

LogicalExpressionCache(ILogger<LogicalExpressionCache>)

public LogicalExpressionCache(ILogger<LogicalExpressionCache> logger)

Parameters

logger ILogger<LogicalExpressionCache>

Methods

GetInstance()

public static LogicalExpressionCache GetInstance()

Returns

LogicalExpressionCache

Set(string, LogicalExpression)

public void Set(string expression, LogicalExpression logicalExpression)

Parameters

expression string
logicalExpression LogicalExpression

TryGetValue(string, out LogicalExpression?)

public bool TryGetValue(string expression, out LogicalExpression? logicalExpression)

Parameters

expression string
logicalExpression LogicalExpression

Returns

bool