C# 클래스 Libmpc.MpdFile

The MpdFile class contains all meta data for a file of the MPD.
파일 보기 프로젝트 열기: sakya/wpfmpdclient 1 사용 예제들

공개 메소드들

메소드 설명
MpdFile ( string file, int time, string album, string artist, string title, string track, string name, string genre, string date, string composer, string performer, string comment, int disc, int pos, int id ) : System

Creates a new MpdFile.

ToString ( ) : string

A string containing all the properties of the file.

build ( MpdResponse response ) : MpdFile

Returns a MpdFile object from a MpdResponse object.

buildList ( MpdResponse response ) : List

Builds a list of MpdFile objects from a MpdResponse object.

비공개 메소드들

메소드 설명
appendInt ( StringBuilder builder, string name, int value ) : void
appendString ( StringBuilder builder, string name, string value ) : void

메소드 상세

MpdFile() 공개 메소드

Creates a new MpdFile.
public MpdFile ( string file, int time, string album, string artist, string title, string track, string name, string genre, string date, string composer, string performer, string comment, int disc, int pos, int id ) : System
file string The name and path of the file.
time int The length of the file in seconds.
album string The album of the file.
artist string The artist of the file.
title string The title of the file.
track string The value of the track property of the file.
name string The name of the song.
genre string The genre of the song.
date string The date the song was released.
composer string The composer of the song.
performer string The performer of the song.
comment string A comment to the file.
disc int The number of the disc on a multidisc album.
pos int The index of the file in a playlist.
id int The id of the file in a playlist.
리턴 System

ToString() 공개 메소드

A string containing all the properties of the file.
public ToString ( ) : string
리턴 string

build() 공개 정적인 메소드

Returns a MpdFile object from a MpdResponse object.
public static build ( MpdResponse response ) : MpdFile
response MpdResponse The response of the MPD server.
리턴 MpdFile

buildList() 공개 정적인 메소드

Builds a list of MpdFile objects from a MpdResponse object.
public static buildList ( MpdResponse response ) : List
response MpdResponse The MpdResponse object to build the list of MpdFiles from.
리턴 List