C# 클래스 LearnLanguages.Common.CommonHelper

파일 보기 프로젝트 열기: ibgib/LearnLanguages

공개 메소드들

메소드 설명
CheckAuthentication ( ) : void

ANY CODE RUNNING ON THE SERVER SHOULD ONLY BE RUN WHEN THE CURRENT USER IS AUTHENTICATED (EXCEPT CODE INVOLVING THE AUTHENTICATION PROCESS ;)

CurrentUserIsAuthenticated ( ) : bool
PasswordIsValid ( string password ) : bool
PasswordIsValid ( string password, string &errorDescription ) : bool
UsernameIsValid ( string username ) : bool
UsernameIsValid ( string username, string &errorDescription ) : bool
WaitAsync ( int timeToWaitInMs ) : System.Threading.Tasks.Task

Waits for the given time in a background thread (executed with a Task)

메소드 상세

CheckAuthentication() 공개 정적인 메소드

ANY CODE RUNNING ON THE SERVER SHOULD ONLY BE RUN WHEN THE CURRENT USER IS AUTHENTICATED (EXCEPT CODE INVOLVING THE AUTHENTICATION PROCESS ;)
public static CheckAuthentication ( ) : void
리턴 void

CurrentUserIsAuthenticated() 공개 정적인 메소드

public static CurrentUserIsAuthenticated ( ) : bool
리턴 bool

PasswordIsValid() 공개 정적인 메소드

public static PasswordIsValid ( string password ) : bool
password string
리턴 bool

PasswordIsValid() 공개 정적인 메소드

public static PasswordIsValid ( string password, string &errorDescription ) : bool
password string
errorDescription string
리턴 bool

UsernameIsValid() 공개 정적인 메소드

public static UsernameIsValid ( string username ) : bool
username string
리턴 bool

UsernameIsValid() 공개 정적인 메소드

public static UsernameIsValid ( string username, string &errorDescription ) : bool
username string
errorDescription string
리턴 bool

WaitAsync() 공개 정적인 메소드

Waits for the given time in a background thread (executed with a Task)
public static WaitAsync ( int timeToWaitInMs ) : System.Threading.Tasks.Task
timeToWaitInMs int
리턴 System.Threading.Tasks.Task