C# Класс Cydin.Models.StatsModel

Показать файл Открыть проект

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

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

Приватные методы

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

Описание методов

GetDownloadStatsCSV() публичный Метод

public GetDownloadStatsCSV ( ) : string
Результат string

GetDownloadSummary() публичный Метод

public GetDownloadSummary ( Cydin.Models.Project p ) : string
p Cydin.Models.Project
Результат string

GetDownloadSummary() публичный Метод

public GetDownloadSummary ( Cydin.Models.Release rel ) : string
rel Cydin.Models.Release
Результат string

GetProjectDownloadStats() публичный Метод

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
Результат Cydin.Models.DownloadStats

GetReleaseDownloadStats() публичный Метод

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
Результат Cydin.Models.DownloadStats

GetRepoDownloadStatsCSV() публичный Метод

public GetRepoDownloadStatsCSV ( ) : string
Результат string

GetTopDownloads() публичный Метод

public GetTopDownloads ( System.DateTime startDate, System.DateTime endDate ) : List
startDate System.DateTime
endDate System.DateTime
Результат List

GetTotalDownloadStats() публичный Метод

public GetTotalDownloadStats ( TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
period TimePeriod
startDate System.DateTime
endDate System.DateTime
Результат Cydin.Models.DownloadStats

GetTotalRepoDownloadStats() публичный Метод

public GetTotalRepoDownloadStats ( TimePeriod period, System.DateTime startDate, System.DateTime endDate ) : Cydin.Models.DownloadStats
period TimePeriod
startDate System.DateTime
endDate System.DateTime
Результат Cydin.Models.DownloadStats

IncDownloadCount() публичный Метод

public IncDownloadCount ( string file ) : void
file string
Результат void

IncRepoDownloadCount() публичный Метод

public IncRepoDownloadCount ( string platform, string version ) : void
platform string
version string
Результат void