C# Class SecureDelete.Schedule.HistoryManager

显示文件 Open project: gratianlup/SecureDelete Class Usage Examples

Public Methods

Method Description
Add ( HistoryItem item ) : bool
Clear ( ) : void
GetItems ( System.Guid guid ) : IList
HistoryManager ( ) : System
LoadHistory ( string path ) : bool

Load the report database from disk.

Remove ( HistoryItem item ) : void
RemoveCategory ( System.Guid guid ) : void
SaveHistory ( string path ) : bool

Save the history database to disk.

Private Methods

Method Description
DeserializeHistory ( byte data ) : HistoryCategory>.Dictionary
SerializeHistory ( HistoryCategory>.Dictionary categories ) : byte[]

Method Details

Add() public method

public Add ( HistoryItem item ) : bool
item HistoryItem
return bool

Clear() public method

public Clear ( ) : void
return void

GetItems() public method

public GetItems ( System.Guid guid ) : IList
guid System.Guid
return IList

HistoryManager() public method

public HistoryManager ( ) : System
return System

LoadHistory() public method

Load the report database from disk.
public LoadHistory ( string path ) : bool
path string
return bool

Remove() public method

public Remove ( HistoryItem item ) : void
item HistoryItem
return void

RemoveCategory() public method

public RemoveCategory ( System.Guid guid ) : void
guid System.Guid
return void

SaveHistory() public method

Save the history database to disk.
public SaveHistory ( string path ) : bool
path string
return bool