public SyncRepositorySettings(int refreshSeconds = 86400, RefreshDataMode refreshDataMode = Settings.RefreshDataMode.RefreshIfStale)//default to 1 day { RefreshSecondsThreshold = refreshSeconds; RefreshDataMode = refreshDataMode; }
/// <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; }