PageRenderTime 49ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/Common/Settings/ListOfProfiles.vb

#
Visual Basic | 43 lines | 36 code | 7 blank | 0 comment | 0 complexity | 95970aab94bb4223bca330646547a7d6 MD5 | raw file
Possible License(s): GPL-2.0
  1. Public Class ListOfProfiles
  2. Property MovieCache As String = ""
  3. Property TvCache As String = ""
  4. Property CustomTvCache As String = ""
  5. Property ActorCache As String = ""
  6. Property MusicVideoCache As String = ""
  7. Private _directorCache As String = ""
  8. Property DirectorCache As String
  9. Get
  10. Return IIf(_directorCache="", Pref.applicationPath & "\Settings\directorcache.xml", _directorCache)
  11. End Get
  12. Set(value As String)
  13. _directorCache=value
  14. End Set
  15. End Property
  16. Property ProfileName As String = ""
  17. Property RegExList As String = ""
  18. Property Genres As String = ""
  19. Property Config As String = ""
  20. Property HomeMovieCache As String = ""
  21. Property MovieSetCache As String = ""
  22. Public Sub Assign(profileTo As ListOfProfiles)
  23. profileTo.ActorCache = ActorCache
  24. profileTo.DirectorCache = DirectorCache
  25. profileTo.Config = Config
  26. profileTo.MovieCache = MovieCache
  27. profileTo.ProfileName = ProfileName
  28. profileTo.RegExList = RegExList
  29. profileTo.Genres = Genres
  30. profileTo.TvCache = TvCache
  31. profileTo.CustomTvCache = CustomTvCache
  32. profileTo.ProfileName = ProfileName
  33. profileTo.MusicVideoCache = MusicVideoCache
  34. profileTo.MovieSetCache = MovieSetCache
  35. End Sub
  36. End Class