Click or drag to resize

PosAttribute Class

EDI DOM attribute to mark position. EDI rules define the exact position and sequence of each EDI item (EDI segment, EDI loop or EDI data element) within the top level or any loop. Although the properties of each class are in the correct sequence, the EDI parse uses .NET's reflection GetProperties() which returns all properties defined for a class but not necessarily in the sequence they appear in the actual file.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    EdiFabric.Core.Annotations.EdiPosAttribute

Namespace:  EdiFabric.Core.Annotations.Edi
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: 1.0.0.0 (9.7.8.0)
Syntax
public sealed class PosAttribute : Attribute

The PosAttribute type exposes the following members.

Constructors
  NameDescription
Public methodPosAttribute
Initializes a new instance of the PosAttribute class.
Top
Properties
  NameDescription
Public propertyPos
The position of the EDI item. This is required because EDI is positional and all EDI items must be ordered according to their EDI rule.
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