C# 클래스 wpf_player.SearchListModel

Class that implements the ViewModel in the MVVM pattern. This class contains logic for handling the research and the comminication with other viewmodels
상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: zencoders/sambatyon 1 사용 예제들

공개 메소드들

메소드 설명
OnStreamRequest ( StreamRequestedArgs args ) : void

This method raises the stream request event used by the audio player to start a streaming session

SearchListModel ( Peer peer = null ) : System

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

비공개 메소드들

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

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

searchFn ( object args = null ) : void

Backend method for the search command. This method uses the peer to search the network and loads the results in the Response list.

startStream ( object args = null ) : void

Backend method for the start stream command. This method calls the OnStreamRequest

메소드 상세

OnStreamRequest() 공개 메소드

This method raises the stream request event used by the audio player to start a streaming session
public OnStreamRequest ( StreamRequestedArgs args ) : void
args StreamRequestedArgs Parameter that will be passed to the handler
리턴 void

SearchListModel() 공개 메소드

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