UtilReadAllT(Type, Stream, UtilObjectHandlerProcessT) Method
Read array of struct in stream and processes them by handler.
Note: does not work with stucts containing VARSTR fields and STRUCT fields.
Namespace: Vajhoej.RecordAssembly: Record (in Record.dll) Version: 0.0.0.0
public static void ReadAll<T>(
Type t,
Stream stm,
UtilObjectHandlerProcess<T> ohp
)
where T : class, new()
Public Shared Sub ReadAll(Of T As {Class, New}) (
t As Type,
stm As Stream,
ohp As UtilObjectHandlerProcess(Of T)
)
Dim t As Type
Dim stm As Stream
Dim ohp As UtilObjectHandlerProcess(Of T)
Util.ReadAll(t, stm, ohp)
public:
generic<typename T>
where T : ref class, gcnew()
static void ReadAll(
Type^ t,
Stream^ stm,
UtilObjectHandlerProcess<T>^ ohp
)
static member ReadAll :
t : Type *
stm : Stream *
ohp : UtilObjectHandlerProcess<'T> -> unit when 'T : not struct, new()
- t Type
- Type.
- stm Stream
- Stream.
- ohp UtilObjectHandlerProcessT
- Processor of objects.
- T
- Type.