C# 클래스 Last.fm_Scrubbler_WPF.ViewModels.UserViewModel

상속: Caliburn.Micro.PropertyChangedBase
파일 보기 프로젝트 열기: coczero/Last.fm-Scrubbler-WPF 1 사용 예제들

공개 메소드들

메소드 설명
AddUser ( ) : void

Add a user to the list.

LoadLastUser ( ) : void

Loads the user that was last logged in.

LoginUser ( ) : void

Logs the selected user in.

RemoveUser ( ) : void

Removes the SelectedUser from the AvailableUsers and deleted its xml file.

UserViewModel ( ) : Caliburn.Micro

Constructor. Deserializes the users.

비공개 메소드들

메소드 설명
DeserializeUsers ( ) : void

Deserializes the saved users.

LoginUser ( User usr ) : void

Logs the given usr in.

SerializeUsers ( ) : void

Serializes all users in AvailableUsers to a xml file.

메소드 상세

AddUser() 공개 메소드

Add a user to the list.
public AddUser ( ) : void
리턴 void

LoadLastUser() 공개 메소드

Loads the user that was last logged in.
public LoadLastUser ( ) : void
리턴 void

LoginUser() 공개 메소드

Logs the selected user in.
public LoginUser ( ) : void
리턴 void

RemoveUser() 공개 메소드

Removes the SelectedUser from the AvailableUsers and deleted its xml file.
public RemoveUser ( ) : void
리턴 void

UserViewModel() 공개 메소드

Constructor. Deserializes the users.
public UserViewModel ( ) : Caliburn.Micro
리턴 Caliburn.Micro