C# Class Libmpc.MpdStatistics

The MpdStatistics class contains statistics of the MPD file database.
Afficher le fichier Open project: sakya/wpfmpdclient

Méthodes publiques

Méthode Description
MpdStatistics ( int artists, int albums, int songs, int uptime, int playtime, int db_playtime, long db_update ) : System

Creates a new MpdStatistics object.

ToString ( ) : string

Returns a string representation of the object mainly for debugging purpuse.

Private Methods

Méthode Description
appendInt ( StringBuilder builder, string name, int value ) : void
appendLong ( StringBuilder builder, string name, long value ) : void

Method Details

MpdStatistics() public méthode

Creates a new MpdStatistics object.
public MpdStatistics ( int artists, int albums, int songs, int uptime, int playtime, int db_playtime, long db_update ) : System
artists int The number of artists in the MPD database.
albums int The number of albums in the MPD database.
songs int The number of songs in the MPD database.
uptime int The time the MPD server is running in seconds.
playtime int The number of seconds the MPD played so far.
db_playtime int The total playtime of all songs in the MPD database.
db_update long The timestamp of the last MPD database update.
Résultat System

ToString() public méthode

Returns a string representation of the object mainly for debugging purpuse.
public ToString ( ) : string
Résultat string