C# Class Foundation.Server.Infrastructure.Helpers.Strings

Class used for operations with strings.
Afficher le fichier Open project: NVentimiglia/Unity3d-Foundation

Méthodes publiques

Свойство Type Description
random System.Random

Méthodes publiques

Méthode Description
GenerateId ( int size ) : string

Generates an id.

RandomDate ( int daysback ) : System.DateTime

Generates an id.

RandomDecimal ( ) : double

Randoms the number.

RandomEmail ( ) : string
RandomNumber ( int min, int max ) : int

Randoms the number.

RandomPhone ( ) : string
RandomString ( int size ) : string

Randoms the string.

RandomUrl ( ) : string

Method Details

GenerateId() public static méthode

Generates an id.
public static GenerateId ( int size ) : string
size int
Résultat string

RandomDate() public static méthode

Generates an id.
public static RandomDate ( int daysback ) : System.DateTime
daysback int
Résultat System.DateTime

RandomDecimal() public static méthode

Randoms the number.
public static RandomDecimal ( ) : double
Résultat double

RandomEmail() public static méthode

public static RandomEmail ( ) : string
Résultat string

RandomNumber() public static méthode

Randoms the number.
public static RandomNumber ( int min, int max ) : int
min int The min.
max int The max.
Résultat int

RandomPhone() public static méthode

public static RandomPhone ( ) : string
Résultat string

RandomString() public static méthode

Randoms the string.
public static RandomString ( int size ) : string
size int The size.
Résultat string

RandomUrl() public static méthode

public static RandomUrl ( ) : string
Résultat string

Property Details

random public_oe static_oe property

public static Random,System random
Résultat System.Random