C# Class MusicPlayer.ExtentionMethods

Afficher le fichier Open project: Silveryard/SmartHome

Méthodes publiques

Méthode Description
AddSong ( this client, string song, string artist, string album, byte file ) : void
GetSongData ( this client, int songId ) : byte[]
GetSongs ( this client ) : MusicCollection
IndexesOf ( this haystack, string needle ) : IEnumerable

Method Details

AddSong() public static méthode

public static AddSong ( this client, string song, string artist, string album, byte file ) : void
client this
song string
artist string
album string
file byte
Résultat void

GetSongData() public static méthode

public static GetSongData ( this client, int songId ) : byte[]
client this
songId int
Résultat byte[]

GetSongs() public static méthode

public static GetSongs ( this client ) : MusicCollection
client this
Résultat MusicCollection

IndexesOf() public static méthode

public static IndexesOf ( this haystack, string needle ) : IEnumerable
haystack this
needle string
Résultat IEnumerable