Table of Contents

Struct ToList<T>

Namespace
Mech3DotNet.Reader
Assembly
Mech3DotNet.dll
public struct ToList<T> : IConvertOperation<List<T>>

Type Parameters

T
Implements
Inherited Members

Constructors

ToList(IConvertOperation<T>)

public ToList(IConvertOperation<T> op)

Parameters

op IConvertOperation<T>

Methods

Convert(ReaderValue, IEnumerable<string>, IConvertOperation<T>)

public static List<T> Convert(ReaderValue value, IEnumerable<string> path, IConvertOperation<T> op)

Parameters

value ReaderValue
path IEnumerable<string>
op IConvertOperation<T>

Returns

List<T>

ConvertTo(ReaderValue, IEnumerable<string>)

Apply the operation to the ReaderValue.

This method is not usually called manually, but is called when the operation is applied to a Query.

public List<T> ConvertTo(ReaderValue value, IEnumerable<string> path)

Parameters

value ReaderValue
path IEnumerable<string>

Returns

List<T>

Operators

operator /(Query, ToList<T>)

public static List<T> operator /(Query query, ToList<T> op)

Parameters

query Query
op ToList<T>

Returns

List<T>