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); }
public void Normalized() { V2RayCoreDownloadVersionList = V2RayCoreDownloadVersionList ?? new List <string>(); ImportOptions = ImportOptions ?? new ImportSharelinkOptions(); SpeedtestOptions = SpeedtestOptions ?? new SpeedTestOptions(); }