Interface IVehiclePlateRules
- Namespace
- HeroKit.Globalization
- Assembly
- HeroKit.dll
Vehicle registration plate rules of a country.
public interface IVehiclePlateRules
- Extension Methods
Methods
Format(string?)
Formats a plate in the national notation of the country.
string? Format(string? value)
Parameters
valuestringThe plate in any common notation.
Returns
- string
The formatted plate, or null if the value is not valid.
IsValid(string?)
Checks whether a value is a valid plate of the country.
bool IsValid(string? value)
Parameters
valuestringThe plate in any common notation.
Returns
- bool
True if valid; otherwise false.