示例#1
0
 public bool Equals(SpeedTestOptions target)
 {
     if (target == null ||
         !Url.Equals(target.Url) ||
         IsUse != target.IsUse ||
         Cycles != target.Cycles ||
         ExpectedSize != target.ExpectedSize ||
         Timeout != target.Timeout)
     {
         return(false);
     }
     return(true);
 }
示例#2
0
 public void Normalized()
 {
     V2RayCoreDownloadVersionList = V2RayCoreDownloadVersionList ?? new List <string>();
     ImportOptions    = ImportOptions ?? new ImportSharelinkOptions();
     SpeedtestOptions = SpeedtestOptions ?? new SpeedTestOptions();
 }