Table of Contents

Struct PairWise

Namespace
Mech3DotNet.Reader
Assembly
Mech3DotNet.dll

Enumerate all ReaderValue in a ReaderList as pairs.

public struct PairWise : IEnumerable<(string key, ReaderValue value, IEnumerable<string> path)>, IEnumerable
Implements
Inherited Members

Constructors

PairWise(ReaderValue, IEnumerable<string>)

public PairWise(ReaderValue value, IEnumerable<string> path)

Parameters

value ReaderValue
path IEnumerable<string>

Properties

Count

Returns the count of key-value pairs.

public int Count { get; }

Property Value

int

Underlying

Returns the underlying ReaderList.

public ReaderList Underlying { get; }

Property Value

ReaderList

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<(string key, ReaderValue value, IEnumerable<string> path)> GetEnumerator()

Returns

IEnumerator<(string key, ReaderValue value, IEnumerable<string> path)>

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