C# 클래스 WaveBox.Core.Model.Repository.SongRepository

상속: ISongRepository
파일 보기 프로젝트 열기: einsteinx2/WaveBox

공개 메소드들

메소드 설명
AllSongs ( ) : IList
CountSongs ( ) : int
InsertSong ( Song song, bool replace = false ) : bool
LimitSongs ( int index, int duration = Int32.MinValue ) : IList
RangeSongs ( char start, char end ) : IList
SearchSongs ( string field, string query, bool exact = true ) : IList
SongForId ( int songId ) : Song
SongRepository ( IDatabase database ) : System
SongsForIds ( IList songIds ) : IList
TotalSongDuration ( ) : long
TotalSongSize ( ) : long

메소드 상세

AllSongs() 공개 메소드

public AllSongs ( ) : IList
리턴 IList

CountSongs() 공개 메소드

public CountSongs ( ) : int
리턴 int

InsertSong() 공개 메소드

public InsertSong ( Song song, bool replace = false ) : bool
song Song
replace bool
리턴 bool

LimitSongs() 공개 메소드

public LimitSongs ( int index, int duration = Int32.MinValue ) : IList
index int
duration int
리턴 IList

RangeSongs() 공개 메소드

public RangeSongs ( char start, char end ) : IList
start char
end char
리턴 IList

SearchSongs() 공개 메소드

public SearchSongs ( string field, string query, bool exact = true ) : IList
field string
query string
exact bool
리턴 IList

SongForId() 공개 메소드

public SongForId ( int songId ) : Song
songId int
리턴 Song

SongRepository() 공개 메소드

public SongRepository ( IDatabase database ) : System
database IDatabase
리턴 System

SongsForIds() 공개 메소드

public SongsForIds ( IList songIds ) : IList
songIds IList
리턴 IList

TotalSongDuration() 공개 메소드

public TotalSongDuration ( ) : long
리턴 long

TotalSongSize() 공개 메소드

public TotalSongSize ( ) : long
리턴 long