C# 클래스 Cydin.Models.StatsModel

파일 보기 프로젝트 열기: slluis/cydin

공개 메소드들

메소드 설명
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