Example #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,
 };
Example #2
0
 public MediaPreference GetPreference(MediaType type)
 => type == MediaType.Playlist
         ? PlaylistPreference.Clone() as MediaPreference
         : GeneralPreference.Clone() as MediaPreference;