C# Класс WaveBox.Core.Model.Repository.SongRepository

Наследование: ISongRepository
Показать файл Открыть проект

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

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