C# Class Organisation.Song

Song is the abstract Song class for handling song information
Inheritance: Observer.Subject, Interfaces.ISong
Afficher le fichier Open project: mhack/gamenoise

Protected Properties

Свойство Type Description
_aBassWrapperOrganisation Interfaces.IBassWrapperOrganisation
_filePath string
_songlength double
_tags string[]

Méthodes publiques

Méthode Description
Song ( string alb, string art, string tit, string fp, double dur, Interfaces bass ) : Observer

Constructor

getFilePath ( ) : string

Get the path of the file

getPlaytime ( ) : string

get the files total Play time

getTags ( ) : string[]

Get the _tags for the current song

getTagsFromFile ( ) : void

Get the _tags for the current song

setFilePath ( string fp ) : void

set the path of the file

Méthodes protégées

Méthode Description
Song ( string fp, Interfaces bass ) : Observer

constructor

Method Details

Song() protected méthode

constructor
protected Song ( string fp, Interfaces bass ) : Observer
fp string filepath
bass Interfaces bass reference
Résultat Observer

Song() public méthode

Constructor
public Song ( string alb, string art, string tit, string fp, double dur, Interfaces bass ) : Observer
alb string album
art string artist
tit string title
fp string filepath
dur double duration
bass Interfaces bass refence
Résultat Observer

getFilePath() public méthode

Get the path of the file
public getFilePath ( ) : string
Résultat string

getPlaytime() public abstract méthode

get the files total Play time
public abstract getPlaytime ( ) : string
Résultat string

getTags() public méthode

Get the _tags for the current song
public getTags ( ) : string[]
Résultat string[]

getTagsFromFile() public abstract méthode

Get the _tags for the current song
public abstract getTagsFromFile ( ) : void
Résultat void

setFilePath() public méthode

set the path of the file
public setFilePath ( string fp ) : void
fp string
Résultat void

Property Details

_aBassWrapperOrganisation protected_oe property

protected Interfaces.IBassWrapperOrganisation _aBassWrapperOrganisation
Résultat Interfaces.IBassWrapperOrganisation

_filePath protected_oe property

protected string _filePath
Résultat string

_songlength protected_oe property

protected double _songlength
Résultat double

_tags protected_oe property

protected string[] _tags
Résultat string[]