예제 #1
0
 public SyncRepositorySettings(int refreshSeconds = 86400, RefreshDataMode refreshDataMode = Settings.RefreshDataMode.RefreshIfStale)//default to 1 day
 {
     RefreshSecondsThreshold = refreshSeconds;
     RefreshDataMode         = refreshDataMode;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RefreshDataMessage"/> class.
 /// </summary>
 /// <param name="mode">
 /// The context which is expected to be refreshed.
 /// </param>
 public RefreshDataMessage(RefreshDataMode mode)
 {
     this.Mode = mode;
 }