diff options
| author | ScottIsAFool <scottisafool@live.co.uk> | 2013-02-21 17:50:46 +0000 |
|---|---|---|
| committer | ScottIsAFool <scottisafool@live.co.uk> | 2013-02-21 17:50:46 +0000 |
| commit | ec621df5f6ced7339873652197eb77ac1c386419 (patch) | |
| tree | 5b437df423aa40ae5e63e0c2dbf73d3720612d0f /MediaBrowser.UI/ViewModels/ItemCollectionViewModel.cs | |
| parent | fbf963b68f06ad6547c3e051afb2b2695ba4cf2b (diff) | |
Renamed Dto objects
Updated Fody
Renamed Dto objects
Diffstat (limited to 'MediaBrowser.UI/ViewModels/ItemCollectionViewModel.cs')
| -rw-r--r-- | MediaBrowser.UI/ViewModels/ItemCollectionViewModel.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MediaBrowser.UI/ViewModels/ItemCollectionViewModel.cs b/MediaBrowser.UI/ViewModels/ItemCollectionViewModel.cs index 82feedbd7..3e7f6b841 100644 --- a/MediaBrowser.UI/ViewModels/ItemCollectionViewModel.cs +++ b/MediaBrowser.UI/ViewModels/ItemCollectionViewModel.cs @@ -1,4 +1,4 @@ -using MediaBrowser.Model.DTO; +using MediaBrowser.Model.Dto; using System; using System.Threading; using System.Windows; @@ -44,16 +44,16 @@ namespace MediaBrowser.UI.ViewModels } } - private DtoBaseItem[] _items; + private BaseItemDto[] _items; /// <summary> /// Gets or sets the list of items /// </summary> - public DtoBaseItem[] Items + public BaseItemDto[] Items { get { return _items; } set { - _items = value ?? new DtoBaseItem[] { }; + _items = value ?? new BaseItemDto[] { }; OnPropertyChanged("Items"); CurrentItemIndex = Items.Length == 0 ? -1 : 0; @@ -80,7 +80,7 @@ namespace MediaBrowser.UI.ViewModels /// <summary> /// Gets the current item /// </summary> - public DtoBaseItem CurrentItem + public BaseItemDto CurrentItem { get { return CurrentItemIndex == -1 ? null : Items[CurrentItemIndex]; } } @@ -88,7 +88,7 @@ namespace MediaBrowser.UI.ViewModels /// <summary> /// Gets the next item /// </summary> - public DtoBaseItem NextItem + public BaseItemDto NextItem { get { |
