public void Clone(GeneralSettings settings) { this.NumProcessingThreads = settings.NumProcessingThreads; this.NumSimultaneousSearches = settings.NumSimultaneousSearches; this.DefaultMovieDatabase = settings.DefaultMovieDatabase; this.DefaultTvDatabase = settings.DefaultTvDatabase; this.TorrentDirectory = settings.TorrentDirectory; this.PreferredTorrentQuality = settings.PreferredTorrentQuality; this.TorrentDownload = settings.TorrentDownload; }
public GeneralSettings(GeneralSettings settings) { Clone(settings); }
public GeneralSettingsControlViewModel(GeneralSettings genSettings) { this.GeneralSettings = new GeneralSettings(genSettings); }