Esempio n. 1
0
 public bool Equals(ImportSharelinkOptions target)
 {
     if (target == null ||
         IsFold != target.IsFold ||
         IsImportSsShareLink != target.IsImportSsShareLink ||
         IsInjectGlobalImport != target.IsInjectGlobalImport ||
         IsBypassCnSite != target.IsBypassCnSite ||
         Mode != target.Mode ||
         !Ip.Equals(target.Ip) ||
         Port != target.Port)
     {
         return(false);
     }
     return(true);
 }
Esempio n. 2
0
 public void Normalized()
 {
     V2RayCoreDownloadVersionList = V2RayCoreDownloadVersionList ?? new List <string>();
     ImportOptions    = ImportOptions ?? new ImportSharelinkOptions();
     SpeedtestOptions = SpeedtestOptions ?? new SpeedTestOptions();
 }