public AccountSettingsProvider()
 {
     _algorithm = new RijndaelManaged();
     _hashAlgorithm = new SHA384Managed();
     _storage = CompositionManager.Get<IStorage>();
     SetDocument(_storage.CombineFullPath("Accounts Settings.xml"));
 }
        public ApplicationSettingsProvider()
        {
            _storage = CompositionManager.Get<IStorage>();
            _docPath = _storage.CombineFullPath("Application Settings.xml");

            try
            {
                _doc = !File.Exists(_docPath) ? CreateDefaultXmlFile() : XDocument.Load(_docPath);
            }
            catch (Exception ex)
            {
                CompositionManager.Get<IExceptionReporter>().ReportHandledException(ex);
            }
        }