C# Class Elfar.Tests.Luhn

ファイルを表示 Open project: stevenbey/elfar

Public Methods

Method Description
Generate ( int length = 10 ) : string
Luhn ( int length = 10 ) : System
Luhn ( string value ) : System
Validate ( string value ) : bool

Method Details

Generate() public static method

public static Generate ( int length = 10 ) : string
length int
return string

Luhn() public method

public Luhn ( int length = 10 ) : System
length int
return System

Luhn() public method

public Luhn ( string value ) : System
value string
return System

Validate() public static method

public static Validate ( string value ) : bool
value string
return bool