C# 클래스 Faker.User

Static user class
파일 보기 프로젝트 열기: FermJacob/Faker.Data 1 사용 예제들

공개 메소드들

메소드 설명
Email ( ) : string

Gets an email address

Password ( ) : string

Gets a random password Random length and number of special characters

Password ( int numberOfSpecialChars ) : string

Gets a random password. Will create a password 5 - 20 characters

Password ( int length, bool useSpecialChars ) : string

Gets a random password

Password ( int length, int numberOfSpecialChars ) : string

Gets a random password

Username ( ) : string

Gets a random username

비공개 메소드들

메소드 설명
GeneratePassword ( int length, int nonAlphaNumericChars ) : string

Generate password method

메소드 상세

Email() 공개 정적인 메소드

Gets an email address
public static Email ( ) : string
리턴 string

Password() 공개 정적인 메소드

Gets a random password Random length and number of special characters
public static Password ( ) : string
리턴 string

Password() 공개 정적인 메소드

Gets a random password. Will create a password 5 - 20 characters
public static Password ( int numberOfSpecialChars ) : string
numberOfSpecialChars int Number of special characters
리턴 string

Password() 공개 정적인 메소드

Gets a random password
public static Password ( int length, bool useSpecialChars ) : string
length int Length of password
useSpecialChars bool Use special characters. If true, random number of characters
리턴 string

Password() 공개 정적인 메소드

Gets a random password
public static Password ( int length, int numberOfSpecialChars ) : string
length int Length of password
numberOfSpecialChars int Number of special characters to use
리턴 string

Username() 공개 정적인 메소드

Gets a random username
public static Username ( ) : string
리턴 string