Пример #1
0
 public object Clone()
 {
     var cl = new Settings();
     cl.CommandLine = this.CommandLine;
     if (this.CommonFolders != null)
         this.CommonFolders.ForEach(f => cl.CommonFolders.Add((CommonFolder)f.Clone()));
     cl.LoadTorrentsFrom = this.LoadTorrentsFrom;
     cl.MonitorFolder = this.MonitorFolder;
     cl.uTorrentPath = this.uTorrentPath;
     cl.startMinimized = this.StartMinimized;
     cl.ResetState();
     return cl;
 }