API Reference
Class
Gs1Validator
Parses and validates bracketed GS1 AI syntax and raw GS1 element strings.
Inheritance
- Object
- Gs1Validator
Methods
ToElementString 2 overloads
public static String ToElementString(String bracketedInput, Gs1ValidationOptions options = null) #Returns:
StringBuilds the raw barcode element string from a valid bracketed GS1 message.
Parameters
- bracketedInput System.String
- options CodeGlyphX.Gs1Data.Gs1ValidationOptions = null
public static String ToElementString(IReadOnlyList<Gs1Element> elements) #Returns:
StringBuilds a raw barcode element string from explicit parsed elements.
Parameters
- elements System.Collections.Generic.IReadOnlyList{CodeGlyphX.Gs1Element}
public static Boolean TryValidate(String input, out Gs1ValidationResult result, Gs1ValidationOptions options = null) #Returns:
BooleanAttempts to parse and fully validate a GS1 message.
Parameters
- input System.String
- result CodeGlyphX.Gs1Data.Gs1ValidationResult@
- options CodeGlyphX.Gs1Data.Gs1ValidationOptions = null
public static Gs1ValidationResult Validate(String input, Gs1ValidationOptions options = null) #Returns:
Gs1ValidationResultParses and validates a GS1 message while collecting all detectable issues.
Parameters
- input System.String
- options CodeGlyphX.Gs1Data.Gs1ValidationOptions = null