C# Class WaveBox.Core.Model.Repository.SongRepository

Inheritance: ISongRepository
Afficher le fichier Open project: einsteinx2/WaveBox

Méthodes publiques

Méthode Description
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

Method Details

AllSongs() public méthode

public AllSongs ( ) : IList
Résultat IList

CountSongs() public méthode

public CountSongs ( ) : int
Résultat int

InsertSong() public méthode

public InsertSong ( Song song, bool replace = false ) : bool
song Song
replace bool
Résultat bool

LimitSongs() public méthode

public LimitSongs ( int index, int duration = Int32.MinValue ) : IList
index int
duration int
Résultat IList

RangeSongs() public méthode

public RangeSongs ( char start, char end ) : IList
start char
end char
Résultat IList

SearchSongs() public méthode

public SearchSongs ( string field, string query, bool exact = true ) : IList
field string
query string
exact bool
Résultat IList

SongForId() public méthode

public SongForId ( int songId ) : Song
songId int
Résultat Song

SongRepository() public méthode

public SongRepository ( IDatabase database ) : System
database IDatabase
Résultat System

SongsForIds() public méthode

public SongsForIds ( IList songIds ) : IList
songIds IList
Résultat IList

TotalSongDuration() public méthode

public TotalSongDuration ( ) : long
Résultat long

TotalSongSize() public méthode

public TotalSongSize ( ) : long
Résultat long