C# Class Cydin.Models.StatsModel

Afficher le fichier Open project: slluis/cydin

Méthodes publiques

Méthode Description
GetDownloadStatsCSV ( ) : string
GetDownloadSummary ( Cydin.Models.Project p ) : string
GetDownloadSummary ( Cydin.Models.Release rel ) : string
GetProjectDownloadStats ( int projectId, TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
GetReleaseDownloadStats ( int releaseId, TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
GetRepoDownloadStatsCSV ( ) : string
GetTopDownloads ( System.DateTime startDate, System.DateTime endDate ) : List
GetTotalDownloadStats ( TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
GetTotalRepoDownloadStats ( TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
IncDownloadCount ( string file ) : void
IncRepoDownloadCount ( string platform, string version ) : void

Private Methods

Méthode Description
GetDownloadStats ( TimePeriod period, System.DateTime startDate, System.DateTime endDate, string from, string filter, object arg ) : Cydin.Models.DownloadStats
GetPeriod ( TimePeriod period, System.DateTime t, System.DateTime &start, System.DateTime &end ) : void
StatsModel ( UserModel um, MySqlConnection db ) : System

Method Details

GetDownloadStatsCSV() public méthode

public GetDownloadStatsCSV ( ) : string
Résultat string

GetDownloadSummary() public méthode

public GetDownloadSummary ( Cydin.Models.Project p ) : string
p Cydin.Models.Project
Résultat string

GetDownloadSummary() public méthode

public GetDownloadSummary ( Cydin.Models.Release rel ) : string
rel Cydin.Models.Release
Résultat string

GetProjectDownloadStats() public méthode

public GetProjectDownloadStats ( int projectId, TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
projectId int
period TimePeriod
startDate System.DateTime
endDate System.DateTime
Résultat Cydin.Models.DownloadStats

GetReleaseDownloadStats() public méthode

public GetReleaseDownloadStats ( int releaseId, TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
releaseId int
period TimePeriod
startDate System.DateTime
endDate System.DateTime
Résultat Cydin.Models.DownloadStats

GetRepoDownloadStatsCSV() public méthode

public GetRepoDownloadStatsCSV ( ) : string
Résultat string

GetTopDownloads() public méthode

public GetTopDownloads ( System.DateTime startDate, System.DateTime endDate ) : List
startDate System.DateTime
endDate System.DateTime
Résultat List

GetTotalDownloadStats() public méthode

public GetTotalDownloadStats ( TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
period TimePeriod
startDate System.DateTime
endDate System.DateTime
Résultat Cydin.Models.DownloadStats

GetTotalRepoDownloadStats() public méthode

public GetTotalRepoDownloadStats ( TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
period TimePeriod
startDate System.DateTime
endDate System.DateTime
Résultat Cydin.Models.DownloadStats

IncDownloadCount() public méthode

public IncDownloadCount ( string file ) : void
file string
Résultat void

IncRepoDownloadCount() public méthode

public IncRepoDownloadCount ( string platform, string version ) : void
platform string
version string
Résultat void