Struct FindOnly
- Namespace
 - Mech3DotNet.Reader
 
- Assembly
 - Mech3DotNet.dll
 
An operation to unpack a single ReaderValue from a ReaderList.
public struct FindOnly : IQueryOperation
  - Implements
 
- Inherited Members
 
Methods
Apply(ReaderValue, List<string>)
Apply the operation to the ReaderValue, and modify the path appropriately.
This method is not usually called manually, but is called when the operation is applied to a Query.
public ReaderValue Apply(ReaderValue value, List<string> path)
  Parameters
valueReaderValuepathList<string>
Returns
- ReaderValue
 A single ReaderValue.
Exceptions
- ConversionException
 Thrown if the reader value this operation is applied to is not a list.
- NotFoundException
 Thrown if the list contains zero or more than one values.