C# Class Organisation.Song

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

Protected Properties

Property Type Description
_aBassWrapperOrganisation Interfaces.IBassWrapperOrganisation
_filePath string
_songlength double
_tags string[]

Public Methods

Method 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

Protected Methods

Method Description
Song ( string fp, Interfaces bass ) : Observer

constructor

Method Details

Song() protected method

constructor
protected Song ( string fp, Interfaces bass ) : Observer
fp string filepath
bass Interfaces bass reference
return Observer

Song() public method

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
return Observer

getFilePath() public method

Get the path of the file
public getFilePath ( ) : string
return string

getPlaytime() public abstract method

get the files total Play time
public abstract getPlaytime ( ) : string
return string

getTags() public method

Get the _tags for the current song
public getTags ( ) : string[]
return string[]

getTagsFromFile() public abstract method

Get the _tags for the current song
public abstract getTagsFromFile ( ) : void
return void

setFilePath() public method

set the path of the file
public setFilePath ( string fp ) : void
fp string
return void

Property Details

_aBassWrapperOrganisation protected property

protected Interfaces.IBassWrapperOrganisation _aBassWrapperOrganisation
return Interfaces.IBassWrapperOrganisation

_filePath protected property

protected string _filePath
return string

_songlength protected property

protected double _songlength
return double

_tags protected property

protected string[] _tags
return string[]