Table of Contents

Struct ToDict<T>

Namespace
Mech3DotNet.Reader
Assembly
Mech3DotNet.dll
public struct ToDict<T> : IConvertOperation<Dictionary<string, T>>

Type Parameters

T
Implements
Inherited Members

Constructors

ToDict(IConvertOperation<T>)

public ToDict(IConvertOperation<T> valueOp)

Parameters

valueOp IConvertOperation<T>

Methods

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

public static Dictionary<string, T> Convert(ReaderValue value, IEnumerable<string> path, IConvertOperation<T> valueOp)

Parameters

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

Returns

Dictionary<string, 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 Dictionary<string, T> ConvertTo(ReaderValue value, IEnumerable<string> path)

Parameters

value ReaderValue
path IEnumerable<string>

Returns

Dictionary<string, T>

Operators

operator /(Query, ToDict<T>)

public static Dictionary<string, T> operator /(Query query, ToDict<T> op)

Parameters

query Query
op ToDict<T>

Returns

Dictionary<string, T>