C# Class Rozvrh.Models.XMLTimetable

Class providing data load from xml file and storing of the base data after aplication start. This method is implemented as singleton.
Inheritance: OneXMLTimetable
Show file Open project: jandoubek/fjfi-rozvrh

Public Properties

Property Type Description
TimetableArchive List

Public Methods

Method Description
LoadDatabase ( ) : bool
getTimetableOfId ( string id ) : OneXMLTimetable

Returns the timetable from TimetableArchive with specified id.

Private Methods

Method Description
XMLTimetable ( ) : System
xmlFilePaths ( ) : List

Get paths of all xml files in archive directory.

Method Details

LoadDatabase() public method

public LoadDatabase ( ) : bool
return bool

getTimetableOfId() public static method

Returns the timetable from TimetableArchive with specified id.
public static getTimetableOfId ( string id ) : OneXMLTimetable
id string The id of the required timetable.
return OneXMLTimetable

Property Details

TimetableArchive public static property

public static List TimetableArchive
return List