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

Inheritance: IVideoRepository
Datei anzeigen Open project: einsteinx2/WaveBox

Public Methods

Method 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 method

public AllVideos ( ) : IList
return IList

CountVideos() public method

public CountVideos ( ) : int
return int

InsertVideo() public method

public InsertVideo ( System.Video video, bool replace = false ) : bool
video System.Video
replace bool
return bool

LimitVideos() public method

public LimitVideos ( int index, int duration = Int32.MinValue ) : IList
index int
duration int
return IList

RangeVideos() public method

public RangeVideos ( char start, char end ) : IList
start char
end char
return IList

SearchVideos() public method

public SearchVideos ( string field, string query, bool exact = true ) : IList
field string
query string
exact bool
return IList

TotalVideoDuration() public method

public TotalVideoDuration ( ) : long
return long

TotalVideoSize() public method

public TotalVideoSize ( ) : long
return long

VideoForId() public method

public VideoForId ( int videoId ) : System.Video
videoId int
return System.Video

VideoRepository() public method

public VideoRepository ( IDatabase database ) : System
database IDatabase
return System