public void QuickReadTest() { var synchronizationConfigurationReaderWriter = new FileBasedSynchronizationConfigurationReaderWriter("Configuration/TestSyncConfigurations.xml"); synchronizationConfigurationReaderWriter.GetSynchronizationConfigurations(); }
public void QuickWriteThenReadTest() { var synchronizationConfigurationReaderWriter = new FileBasedSynchronizationConfigurationReaderWriter("Configuration/TestSyncConfigurations.xml"); var config = new SynchronizationConfiguration(Guid.NewGuid(), Guid.NewGuid(), SynchronizationType.BiDirectional, 2, 10, 60, DateTimeOffset.Now, null, null); synchronizationConfigurationReaderWriter.SaveSynchronizationConfigurations(new List<ISynchronizationConfiguration>() { config }); var updatedSyncEvents = synchronizationConfigurationReaderWriter.GetSynchronizationConfigurations(); }