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

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

Méthodes publiques

Méthode Description
AllVideos ( ) : IList
CountVideos ( ) : int
InsertVideo ( System.Video video, bool replace = false ) : bool
LimitVideos ( int index, int duration = Int32.MinValue ) : IList
RangeVideos ( char start, char end ) : IList
SearchVideos ( string field, string query, bool exact = true ) : IList
TotalVideoDuration ( ) : long
TotalVideoSize ( ) : long
VideoForId ( int videoId ) : System.Video
VideoRepository ( IDatabase database ) : System

Method Details

AllVideos() public méthode

public AllVideos ( ) : IList
Résultat IList

CountVideos() public méthode

public CountVideos ( ) : int
Résultat int

InsertVideo() public méthode

public InsertVideo ( System.Video video, bool replace = false ) : bool
video System.Video
replace bool
Résultat bool

LimitVideos() public méthode

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

RangeVideos() public méthode

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

SearchVideos() public méthode

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

TotalVideoDuration() public méthode

public TotalVideoDuration ( ) : long
Résultat long

TotalVideoSize() public méthode

public TotalVideoSize ( ) : long
Résultat long

VideoForId() public méthode

public VideoForId ( int videoId ) : System.Video
videoId int
Résultat System.Video

VideoRepository() public méthode

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