Updated project files, changed INotify implementation

This commit is contained in:
ScottIsAFool
2013-09-08 08:49:01 +01:00
parent 802ec3153d
commit 9566876da4
7 changed files with 14 additions and 101 deletions

View File

@@ -158,6 +158,11 @@
</ItemGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="PropertyChanged, Version=1.41.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\PropertyChanged.Fody.1.41.0.0\Lib\NET35\PropertyChanged.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />

View File

@@ -1,10 +1,10 @@
using MediaBrowser.Model.Entities;
using System.ComponentModel;
using MediaBrowser.Model.Entities;
using System;
namespace MediaBrowser.Model.Session
{
[ImplementPropertyChanged]
public class SessionInfoDto
public class SessionInfoDto : INotifyPropertyChanged
{
/// <summary>
/// Gets or sets the id.
@@ -107,5 +107,7 @@ namespace MediaBrowser.Model.Session
/// </summary>
/// <value><c>true</c> if [supports remote control]; otherwise, <c>false</c>.</value>
public bool SupportsRemoteControl { get; set; }
public event PropertyChangedEventHandler PropertyChanged;
}
}