C# 클래스 Foundation.Server.Infrastructure.Helpers.Strings

Class used for operations with strings.
파일 보기 프로젝트 열기: NVentimiglia/Unity3d-Foundation

공개 프로퍼티들

프로퍼티 타입 설명
random System.Random

공개 메소드들

메소드 설명
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

메소드 상세

GenerateId() 공개 정적인 메소드

Generates an id.
public static GenerateId ( int size ) : string
size int
리턴 string

RandomDate() 공개 정적인 메소드

Generates an id.
public static RandomDate ( int daysback ) : System.DateTime
daysback int
리턴 System.DateTime

RandomDecimal() 공개 정적인 메소드

Randoms the number.
public static RandomDecimal ( ) : double
리턴 double

RandomEmail() 공개 정적인 메소드

public static RandomEmail ( ) : string
리턴 string

RandomNumber() 공개 정적인 메소드

Randoms the number.
public static RandomNumber ( int min, int max ) : int
min int The min.
max int The max.
리턴 int

RandomPhone() 공개 정적인 메소드

public static RandomPhone ( ) : string
리턴 string

RandomString() 공개 정적인 메소드

Randoms the string.
public static RandomString ( int size ) : string
size int The size.
리턴 string

RandomUrl() 공개 정적인 메소드

public static RandomUrl ( ) : string
리턴 string

프로퍼티 상세

random 공개적으로 정적으로 프로퍼티

public static Random,System random
리턴 System.Random