Click or drag to resize

StringLengthAttributeValidateEdi Method

Detects if an EDI data element has the correct length according to its EDI rule.

Namespace:  EdiFabric.Core.Annotations.Validation
Assembly:  EdiFabric (in EdiFabric.dll) Version: 10.1.0.0 (10.1.0.0)
Syntax
public override SegmentErrorContext ValidateEdi(
	ValidationContext validationContext
)

Parameters

validationContext
Type: EdiFabric.Core.Annotations.ValidationValidationContext
The state of the validated item.

Return Value

Type: SegmentErrorContext
A list of EDI segment errors if invalid, otherwise an empty list.

Implements

IEdiValidatorValidateEdi(ValidationContext)
See Also