Méthode | Description | |
---|---|---|
RandomBool ( ) : bool | ||
RandomDateTime ( System.DateTime after = null, System.DateTime before = null ) : System.DateTime | ||
RandomNumber ( int min, int max = int.MaxValue/2 ) : int | ||
RandomString ( int minLength, int maxLength = int.MaxValue/2 ) : string |
Méthode | Description | |
---|---|---|
RandomGenerator ( ) : System |
public static RandomDateTime ( System.DateTime after = null, System.DateTime before = null ) : System.DateTime | ||
after | System.DateTime | |
before | System.DateTime | |
Résultat | System.DateTime |
public static RandomNumber ( int min, int max = int.MaxValue/2 ) : int | ||
min | int | |
max | int | |
Résultat | int |
public static RandomString ( int minLength, int maxLength = int.MaxValue/2 ) : string | ||
minLength | int | |
maxLength | int | |
Résultat | string |