C# Class TimeTracker.Tasks.ReportTasks

Inheritance: IReportTasks
显示文件 Open project: jsmale/TimeTracker

Public Methods

Method Description
GetEmpowerxReportForLastWeek ( ) : ReportOutput
GetReportForDay ( System.DateTime day ) : ReportOutput
GetReportForLastWeek ( ) : ReportOutput
GetReportForRange ( System.DateTime startDate, int numberOfDays ) : ReportOutput
GetReportForThisWeek ( ) : ReportOutput
GetReportForToday ( ) : ReportOutput
ReportTasks ( IUserTasks userTasks, IRepository repository, IDateTimeTasks dateTimeTasks ) : System

Private Methods

Method Description
GetReportDetails ( System.DateTime startDate, IEnumerable reportTimeEntries, int numberOfDays ) : IQueryable
GetReportDetailsForUser ( System.DateTime startDate, int numberOfDays, User user ) : IQueryable
GetReportDetailsForUser ( System.DateTime startDate, int numberOfDays, User user, bool>.Func filter ) : IQueryable
GetWeeklyReport ( System.DateTime startDate ) : ReportOutput

Method Details

GetEmpowerxReportForLastWeek() public method

public GetEmpowerxReportForLastWeek ( ) : ReportOutput
return TimeTracker.DTO.ReportOutput

GetReportForDay() public method

public GetReportForDay ( System.DateTime day ) : ReportOutput
day System.DateTime
return TimeTracker.DTO.ReportOutput

GetReportForLastWeek() public method

public GetReportForLastWeek ( ) : ReportOutput
return TimeTracker.DTO.ReportOutput

GetReportForRange() public method

public GetReportForRange ( System.DateTime startDate, int numberOfDays ) : ReportOutput
startDate System.DateTime
numberOfDays int
return TimeTracker.DTO.ReportOutput

GetReportForThisWeek() public method

public GetReportForThisWeek ( ) : ReportOutput
return TimeTracker.DTO.ReportOutput

GetReportForToday() public method

public GetReportForToday ( ) : ReportOutput
return TimeTracker.DTO.ReportOutput

ReportTasks() public method

public ReportTasks ( IUserTasks userTasks, IRepository repository, IDateTimeTasks dateTimeTasks ) : System
userTasks IUserTasks
repository IRepository
dateTimeTasks IDateTimeTasks
return System