Click or drag to resize

EdiWriterT, U Class

Writes .NET object into EDI documents.
Inheritance Hierarchy
SystemObject
  EdiFabric.Framework.WritersBaseWriter
    EdiFabric.Framework.WritersEdiWriterT, U
      EdiFabric.Framework.WritersEdifactWriter
      EdiFabric.Framework.WritersX12Writer

Namespace:  EdiFabric.Framework.Writers
Assembly:  EdiFabric.Framework (in EdiFabric.Framework.dll) Version: 1.0.0.0 (9.7.7.0)
Syntax
public abstract class EdiWriter<T, U> : BaseWriter

Type Parameters

T
The interchange header.
U
The group header.

The EdiWriterT, U type exposes the following members.

Methods
  NameDescription
Public methodDispose
Flushes the writer. Closes the last started interchange and group if any. Flushes the underlying StreamWriter to clear the buffer.
(Overrides BaseWriterDispose.)
Public methodFlush Obsolete.
Flushes the writer. Closes the last started interchange and group if any. Flushes the underlying StreamWriter to clear the buffer.
(Overrides BaseWriterFlush.)
Public methodWrite(U)
Writes a group header to the destination to start a new group. Closes the last started group if any.
Public methodWrite(TA1)
Write TA1 to the destination.
Public methodWrite(UNA)
Write UNA to the destination.
Public methodWrite(T, Separators)
Writes an interchange header to the destination to start a new interchange. Closes the previous interchange and group if any.
Public methodWrite(EdiMessage, Boolean)
Writes a message to the destination.
(Overrides BaseWriterWrite(EdiMessage, Boolean).)
Top
Extension Methods
  NameDescription
Public Extension MethodValidate(SyntaxSet, Char)Overloaded.
Validates an EDI item according to its EDI DOM validation attributes.
(Defined by ValidationExtensions.)
Public Extension MethodValidate(Int32, SyntaxSet, Char, Int32)Overloaded.
Validates an item according to its EDI DOM validation attributes. This is internally called to validate an EdiMessage.
(Defined by ValidationExtensions.)
Top
See Also