C# Class Yuhan.WPF.Login.ViewModels.LoginViewModel

Inheritance: INotifyPropertyChanged, IDataErrorInfo
Datei anzeigen Open project: hansuky/Yuhan

Private Properties

Property Type Description
Validate string

Public Methods

Method Description
CanLogin ( ) : System.Boolean

현제 데이터에서 Login이 가능한지의 여부를 나타냅니다.

GetRuleViolations ( ) : IEnumerable

현재 서식의 유효성 검사 결과 리스트입니다.

GetUserIDRuleViolations ( ) : IEnumerable

현재 서식의 로그인 아이디 유효성 검사 결과 리스트입니다.

GetUserPasswordRuleViolations ( ) : IEnumerable

현재 서식의 로그인 비밀번호 유효성 검사 결과 리스트입니다.

Load ( ) : void

로그인에 필요한 데이터를 모두 로드 합니다.

LoadAsync ( ) : void

로그인에 필요한 데이터를 비동기로 모두 로드 합니다.

Login ( ) : void

사용자 아이디, 패스워드 및 카테고리를 사용해 로그인을 시도합니다.

LoginViewModel ( ) : System
this ( string columnName ) : string

Protected Methods

Method Description
GetCategories ( ) : IEnumerable

로그인의 카테고리 목록을 서버로 부터 로드합니다.

OnLogined ( String userId, System.Boolean isSuccess = true, Exception ex = null ) : void

로그인 이벤트를 발생시킵니다.

OnPropertyChanged ( String propertyName ) : void

Private Methods

Method Description
Validate ( string propertyName ) : string

Method Details

CanLogin() public method

현제 데이터에서 Login이 가능한지의 여부를 나타냅니다.
public CanLogin ( ) : System.Boolean
return System.Boolean

GetCategories() protected method

로그인의 카테고리 목록을 서버로 부터 로드합니다.
protected GetCategories ( ) : IEnumerable
return IEnumerable

GetRuleViolations() public method

현재 서식의 유효성 검사 결과 리스트입니다.
public GetRuleViolations ( ) : IEnumerable
return IEnumerable

GetUserIDRuleViolations() public method

현재 서식의 로그인 아이디 유효성 검사 결과 리스트입니다.
public GetUserIDRuleViolations ( ) : IEnumerable
return IEnumerable

GetUserPasswordRuleViolations() public method

현재 서식의 로그인 비밀번호 유효성 검사 결과 리스트입니다.
public GetUserPasswordRuleViolations ( ) : IEnumerable
return IEnumerable

Load() public method

로그인에 필요한 데이터를 모두 로드 합니다.
public Load ( ) : void
return void

LoadAsync() public method

로그인에 필요한 데이터를 비동기로 모두 로드 합니다.
public LoadAsync ( ) : void
return void

Login() public method

사용자 아이디, 패스워드 및 카테고리를 사용해 로그인을 시도합니다.
public Login ( ) : void
return void

LoginViewModel() public method

public LoginViewModel ( ) : System
return System

OnLogined() protected method

로그인 이벤트를 발생시킵니다.
protected OnLogined ( String userId, System.Boolean isSuccess = true, Exception ex = null ) : void
userId String
isSuccess System.Boolean
ex System.Exception
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( String propertyName ) : void
propertyName String
return void

this() public method

public this ( string columnName ) : string
columnName string
return string