Click or drag to resize
EdifactReader Constructor (Stream, FuncMessageContext, Assembly, Encoding, Boolean, Int32)
Initializes a new instance of the EdifactReader class.

Namespace: EdiFabric.Framework.Readers
Assembly: EdiFabric.Framework (in EdiFabric.Framework.dll) Version: (
public EdifactReader(
	Stream ediStream,
	Func<MessageContext, Assembly> rulesAssembly,
	Encoding encoding = null,
	bool continueOnError = false,
	int maxSegmentLength = 5000


Type: System.IOStream
The EDI stream to read from.
Type: SystemFuncMessageContext, Assembly
The delegate to return the assembly containing the EDI classes.
encoding (Optional)
Type: System.TextEncoding
The encoding. The default is Encoding.Default.
continueOnError (Optional)
Type: SystemBoolean
Whether to continue searching for valid data after an error occurs.
maxSegmentLength (Optional)
Type: SystemInt32
The maximum length of a segment after which the search for segment terminator seizes.

Return Value

A new instance of the EdifactReader class.
See Also