Control segment validation

You can validate control segments (such as ISA, GS or UNB) by executing Validate. All control segments are built into ediFabric and are annotated with the same validation attributes as the specs.

Call Validate to validate a control segment.

ISA isa = new ISA();
// Construct isa
List<SegmentErrorContext> errors = isa.Validate();
    // ISA is valid