C# 클래스 MusicPlayer.ExtentionMethods

파일 보기 프로젝트 열기: Silveryard/SmartHome

공개 메소드들

메소드 설명
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