public EdiPosition(EdiContainerType type) { Type = type; HasIndex = TypeHasIndex(type); Position = -1; SegmentName = null; }