public void XmlSample() { var repository = new XmlRepository(); Console.WriteLine(repository.Settings.DirectoryPath); Console.WriteLine(_settingsFile.FullName); AssertFile.Exists(true, _settingsFile); // using the default constructor bootstraps with a settings file var setting = repository.ReadOrCreate(() => new DummySerializable()); setting.Value++; Assert.IsTrue(repository.IsDirty(setting)); repository.Save(setting); Assert.IsFalse(repository.IsDirty(setting)); }