• Validation

Contents

Validation

Namespace: Shared

Assembly: SharedLib

Performs basic validation

Methods

Validate(String, Int32, Int32, String) Validates a string against minimum / maximum length ArgumentException thrown if validationText does not meet requirements
Validate(String, Shared.ValidationTypes) Validates string against ValidationType If the text does not match the ValidationType then an error is raised
CardType(String) Given a card number, determines what type of credit/debit card it is

In This Document