C# Класс MusicPlayer.ExtentionMethods

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AddSong() публичный статический Метод

public static AddSong ( this client, string song, string artist, string album, byte file ) : void
client this
song string
artist string
album string
file byte
Результат void

GetSongData() публичный статический Метод

public static GetSongData ( this client, int songId ) : byte[]
client this
songId int
Результат byte[]

GetSongs() публичный статический Метод

public static GetSongs ( this client ) : MusicCollection
client this
Результат MusicCollection

IndexesOf() публичный статический Метод

public static IndexesOf ( this haystack, string needle ) : IEnumerable
haystack this
needle string
Результат IEnumerable