Click or drag to resize

RequiredIfAttributeValidateEdi Method

Detects if an EDI data element is valid according to its condition.

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

Parameters

validationContext  ValidationContext
The state of the validated item.

Return Value

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

Implements

IEdiValidatorValidateEdi(ValidationContext)
See Also