//------------------------------------------------------------------------- public AppManager(InfoCollection infoCollection) { _infoCollection = infoCollection; SetXmlFilePath(); File.SetAttributes(_xmlFilePath, FileAttributes.Normal); _xmlStream.Load(_xmlFilePath); _infoCollection.CategoriesInfo.Initialise(_xmlStream.GetElementsWithName("Category")); _infoCollection.ManualEntriesInfo.Initialise(_xmlStream.GetElementsWithName("ManualEntry")); _infoCollection.RecurringEntriesInfo.Initialise(_xmlStream.GetElementsWithName("RecurringEntry")); }