C# 클래스 wpf_player.LocalStoreModel

Class that implements the ViewModel in the MVVM pattern. This class is used to access peer functionality related to the track repository
상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: zencoders/sambatyon 1 사용 예제들

공개 메소드들

메소드 설명
LocalStoreModel ( Peer p = null ) : System

Constructor that initializes the commands and the local reference to the peer

StoreFile ( string filename ) : bool

Method used to store a new track in the repository

비공개 메소드들

메소드 설명
NotifyPropertyChanged ( String info ) : void

Method called when a property has been changed. This method rises the event PropertyChange.

refreshList ( object sender = null ) : void

Backend method for the Refresh List Command. This method cleans the local list, reloads all data from the database and then it updates the list.

메소드 상세

LocalStoreModel() 공개 메소드

Constructor that initializes the commands and the local reference to the peer
public LocalStoreModel ( Peer p = null ) : System
p PeerLibrary.Peer Peer that will be used to get information
리턴 System

StoreFile() 공개 메소드

Method used to store a new track in the repository
public StoreFile ( string filename ) : bool
filename string Filename of the file to add
리턴 bool