示例#1
0
 /// <summary>
 /// Retrieve the most recent synchronization information from the data store and set the relevant properties
 /// on the <paramref name="synchStatus"/> parameter. The return value is the same reference as the parameter.
 /// </summary>
 /// <param name="synchStatus">An <see cref="ISynchronizationStatus"/> object to populate with the most recent synchronization
 /// information from the data store.</param>
 /// <returns>
 /// Returns an <see cref="ISynchronizationStatus"/> object with updated properties based on what was retrieved
 /// from the data store.
 /// </returns>
 public override ISynchronizationStatus Synchronize_UpdateStatusFromDataStore(ISynchronizationStatus synchStatus)
 {
     return(Synchronize.UpdateStatusFromDataStore(synchStatus));
 }
示例#2
0
 /// <summary>
 /// Persist the synchronization information to the data store.
 /// </summary>
 /// <param name="synchStatus">An <see cref="ISynchronizationStatus"/> object containing the synchronization information
 /// to persist to the data store.</param>
 /// <exception>Throws a GalleryServerPro.ErrorHandler.CustomExceptions.SynchronizationInProgressException if the data
 /// store indicates another synchronization is already in progress for this gallery.</exception>
 public override void Synchronize_SaveStatus(ISynchronizationStatus synchStatus)
 {
     Synchronize.SaveStatus(synchStatus);
 }