Click or drag to resize

ValidationContext Class

The currently validated item in the DOM tree. Provides the instance, its parent in the DOM tree and the reflected property. Provides the position indexes of the item within the message, segment and composite element. Provides the index of the repetition of the item. Provides the syntax set of the item which can be used for data type validation.
Inheritance Hierarchy
SystemObject
  EdiFabric.Core.Annotations.ValidationValidationContext

Namespace: EdiFabric.Core.Annotations.Validation
Assembly: EdiFabric (in EdiFabric.dll) Version: 1.0.0
Syntax
public class ValidationContext

The ValidationContext type exposes the following members.

Constructors
 NameDescription
Public methodValidationContextInitializes a new instance of the ValidationContext class
Top
Properties
 NameDescription
Public propertyComponentDataElement Separator for component data elements.
Public propertyDataElementCodesMap A code set map used for data element EDI code set validation.
Public propertyDataElementTypeMap A code set map used for data element EDI code set validation.
Public propertyDateFormat Overrides the date format on the template for all elements with a DT type. Must be a valid C# DateTime format.
Public propertyDecimalPoint The decimal point to use.
Public propertyInCompositeIndex The position within the component if any.
Public propertyInSegmentIndex The position within the segment.
Public propertyInstanceContext The instance context.
Public propertyRepetitionIndex The repetition position.
Public propertySegmentIndex The segment position.
Public propertySkipSeqCountValidation Whether to skip seq count validation in LX/ENT segments ('false' by default).
Public propertySyntaxSet The alpha-numeric validator.
Public propertyTimeFormat Overrides the time format on the template for all elements with a TM type. Must be a valid C# TimeSpan format.
Top
See Also