Beispiel #1
0
 public object Clone()
 => new AthameSettings
 {
     SettingsPath            = SettingsPath,
     GeneralPreference       = GeneralPreference.Clone() as MediaPreference,
     PlaylistPreference      = PlaylistPreference.Clone() as MediaPreference,
     DontSavePlaylistArtwork = DontSavePlaylistArtwork,
     PlaylistFileType        = PlaylistFileType,
     WriteWatermark          = WriteWatermark,
     ConfirmExit             = ConfirmExit,
 };
Beispiel #2
0
 public MediaPreference GetPreference(MediaType type)
 => type == MediaType.Playlist
         ? PlaylistPreference.Clone() as MediaPreference
         : GeneralPreference.Clone() as MediaPreference;