Table of Contents

Struct ToBool

Namespace
Mech3DotNet.Reader
Assembly
Mech3DotNet.dll
public struct ToBool : IConvertOperation<bool>
Implements
Inherited Members

Methods

Convert(ReaderValue, IEnumerable<string>)

public static bool Convert(ReaderValue value, IEnumerable<string> path)

Parameters

value ReaderValue
path IEnumerable<string>

Returns

bool

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

Parameters

value ReaderValue
path IEnumerable<string>

Returns

bool

Operators

operator /(Query, ToBool)

public static bool operator /(Query query, ToBool op)

Parameters

query Query
op ToBool

Returns

bool