Click or drag to resize

EnumerableRecordReaderT Class

A record reader that reads from a list. Mainly for test purposes.
Inheritance Hierarchy
SystemObject
  Ookii.Jumbo.IORecordReaderT
    Ookii.Jumbo.IOEnumerableRecordReaderT

Namespace:  Ookii.Jumbo.IO
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public class EnumerableRecordReader<T> : RecordReader<T>

Type Parameters

T
The type of record.

The EnumerableRecordReaderT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBytesRead
Gets the actual number of bytes read from the input.
(Inherited from RecordReaderT.)
Public propertyCurrentRecord
Gets the current record.
(Inherited from RecordReaderT.)
Public propertyHasFinished
Gets a value indicating whether this instance has read all records.
(Inherited from RecordReaderT.)
Public propertyHasRecords
Gets a value that indicates whether there are records available on the data source that this reader is reading from.
(Inherited from RecordReaderT.)
Public propertyInputBytes
Gets the size of the records before deserialization.
(Inherited from RecordReaderT.)
Public propertyProgress
Gets the progress of the reader.
(Overrides RecordReaderTProgress.)
Public propertyReadTime
Gets the time spent reading.
(Inherited from RecordReaderT.)
Public propertyRecordsRead
Gets the number of records that has been read by this record reader.
(Inherited from RecordReaderT.)
Public propertySourceName
Gets or sets the an informational string indicating the source of the records.
(Inherited from RecordReaderT.)
Top
Methods
  NameDescription
Public methodDispose
Cleans up all resources held by this StreamRecordReader{T}.
(Inherited from RecordReaderT.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Overrides RecordReaderTDispose(Boolean).)
Public methodEnumerateRecords
Enumerates over all the records.
(Inherited from RecordReaderT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnHasRecordsChanged
Raises the HasRecordsChanged event.
(Inherited from RecordReaderT.)
Public methodReadRecord
Reads a record.
(Inherited from RecordReaderT.)
Protected methodReadRecordInternal
Reads a record.
(Overrides RecordReaderTReadRecordInternal.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
See Also