private void SetRefreshInterval(RefreshInterval refreshInterval) { if (refreshInterval.Equals(this.refreshInterval)) { return; // no change } this.refreshInterval = refreshInterval; OnChanged(new RefreshIntervalEventArgs(refreshInterval)); }
private void SetRefreshInterval(RefreshInterval refreshInterval) { if (refreshInterval.Equals(this.refreshInterval)) return; // no change this.refreshInterval = refreshInterval; OnChanged(new RefreshIntervalEventArgs(refreshInterval)); }
private void SetRefreshInterval(RefreshInterval? refreshInterval) { if (!refreshInterval.HasValue) return; // no value (request to modify to out of range) SetRefreshInterval(refreshInterval.Value); }
public RefreshIntervalEventArgs(RefreshInterval refreshInterval) { RefreshInterval = refreshInterval; }