Class BarcodeValidation
Class to validate barcode in different databases
Inheritance
System.Object
BarcodeValidation
Namespace: Simplic.Framework.Extension.Barcode
Assembly: Simplic.Framework.Extension.dll
Syntax
public static class BarcodeValidation : object
Methods
| Improve this Doc View SourceClearCache()
Clear all cached validation rules
Declaration
public static void ClearCache()
Validate(IList<String>, String)
Validates the barcode with a list of sources that is used for the validation
Declaration
public static BarcodeValidationResult Validate(IList<string> sources, string barcode)
Parameters
Type | Name | Description |
---|---|---|
IList<System. |
sources | List of source configurations for barcode validation |
System. |
barcode |
Returns
Type | Description |
---|---|
Barcode |
Validate(String)
Validate a barcode in different clients
Declaration
public static BarcodeValidationResult Validate(string barcode)
Parameters
Type | Name | Description |
---|---|---|
System. |
barcode | Barcode as string |
Returns
Type | Description |
---|---|
Barcode |
Barcode instance if validating was successfull |