示例#1
0
 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;
 }
示例#2
0
 internal void Update(NewsServerThrottlingData newsServerThrottlingData)
 {
     if (newsServerThrottlingData != null)
     {
         SetValues(newsServerThrottlingData);
         DoThrottle();
     }
 }
示例#3
0
 public NewsServerThrottling(NZBDriveDLL.NZBDrive nzbDrive, NewsServerThrottlingData other)
     : base(other)
 {
     _nzbDrive = nzbDrive;
 }
示例#4
0
 public NewsServerThrottlingData(NewsServerThrottlingData other)
 {
     SetValues(other);
 }