internal void SetValues(NewsServerThrottlingData other) { this.ThrottlingMode = other.ThrottlingMode; this.SpeedLimit = other.SpeedLimit; this.SpeedLimitUnit = other.SpeedLimitUnit; this.PreCacheSize = other.PreCacheSize; this.PreCacheSizeUnit = other.PreCacheSizeUnit; }
internal void Update(NewsServerThrottlingData newsServerThrottlingData) { if (newsServerThrottlingData != null) { SetValues(newsServerThrottlingData); DoThrottle(); } }
public NewsServerThrottling(NZBDriveDLL.NZBDrive nzbDrive, NewsServerThrottlingData other) : base(other) { _nzbDrive = nzbDrive; }
public NewsServerThrottlingData(NewsServerThrottlingData other) { SetValues(other); }