C# Class OS2Indberetning.BuisnessLogic.ReportListHandler

Class to handle saved DriveReports through the use of FileHandler
显示文件 Open project: os2indberetning/OS2_Windows_Phone

Public Methods

Method Description
AddReportToList ( DriveReport report ) : Task

Adds report to the stored report list

DeleteEntireList ( ) : Task

Removes all reports from the stored list

GetCount ( ) : System.Threading.Tasks.Task

Gets the amount of stored reports

GetReportList ( ) : Task>

Fetches the report list from the stored file

RemoveReportFromList ( DriveReport report ) : Task>

Removes specific report from the stored list

Method Details

AddReportToList() public static method

Adds report to the stored report list
public static AddReportToList ( DriveReport report ) : Task
report OS2Indberetning.Model.DriveReport the DriveReport to be added to the list
return Task

DeleteEntireList() public static method

Removes all reports from the stored list
public static DeleteEntireList ( ) : Task
return Task

GetCount() public static method

Gets the amount of stored reports
public static GetCount ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

GetReportList() public static method

Fetches the report list from the stored file
public static GetReportList ( ) : Task>
return Task>

RemoveReportFromList() public static method

Removes specific report from the stored list
public static RemoveReportFromList ( DriveReport report ) : Task>
report OS2Indberetning.Model.DriveReport the DriveReport to be removed from the list
return Task>