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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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