Struct ToKeyValue<T>
- Namespace
- Mech3DotNet.Reader
- Assembly
- Mech3DotNet.dll
public struct ToKeyValue<T> : IConvertOperation<List<(string key, T value)>>
Type Parameters
T
- Implements
- Inherited Members
Constructors
ToKeyValue(IConvertOperation<T>)
public ToKeyValue(IConvertOperation<T> valueOp)
Parameters
valueOp
IConvertOperation<T>
Methods
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<(string key, T value)> ConvertTo(ReaderValue value, IEnumerable<string> path)
Parameters
value
ReaderValuepath
IEnumerable<string>
Returns
Operators
operator /(Query, ToKeyValue<T>)
public static List<(string key, T value)> operator /(Query query, ToKeyValue<T> op)
Parameters
query
Queryop
ToKeyValue<T>