Table of Contents

Class LogicalExpressionList

Namespace
NCalc
Assembly
NCalc.Domain.dll
public sealed class LogicalExpressionList : LogicalExpression, IReadOnlyList<LogicalExpression>, IReadOnlyCollection<LogicalExpression>, IEnumerable<LogicalExpression>, IEnumerable
Inheritance
LogicalExpressionList
Implements
Inherited Members

Constructors

LogicalExpressionList()

public LogicalExpressionList()

LogicalExpressionList(IReadOnlyList<LogicalExpression>)

public LogicalExpressionList(IReadOnlyList<LogicalExpression> values)

Parameters

values IReadOnlyList<LogicalExpression>

Properties

Count

Gets the number of elements in the collection.

public int Count { get; }

Property Value

int

The number of elements in the collection.

this[int]

Gets the element at the specified index in the read-only list.

public LogicalExpression this[int index] { get; }

Parameters

index int

The zero-based index of the element to get.

Property Value

LogicalExpression

The element at the specified index in the read-only list.

Methods

Accept<T>(ILogicalExpressionVisitor<T>)

public override T Accept<T>(ILogicalExpressionVisitor<T> visitor)

Parameters

visitor ILogicalExpressionVisitor<T>

Returns

T

Type Parameters

T

AsSpan()

public Span<LogicalExpression> AsSpan()

Returns

Span<LogicalExpression>

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<LogicalExpression> GetEnumerator()

Returns

IEnumerator<LogicalExpression>

An enumerator that can be used to iterate through the collection.