Updated project files, changed INotify implementation
This commit is contained in:
parent
802ec3153d
commit
9566876da4
|
@ -47,6 +47,10 @@
|
||||||
<Reference Include="Microsoft.Threading.Tasks.Extensions">
|
<Reference Include="Microsoft.Threading.Tasks.Extensions">
|
||||||
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.16\lib\portable-net40+sl4+win8+wp71\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.16\lib\portable-net40+sl4+win8+wp71\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="PropertyChanged">
|
||||||
|
<HintPath>..\packages\PropertyChanged.Fody.1.41.0.0\Lib\portable-net4+sl4+wp7+win8+MonoAndroid16+MonoTouch40\PropertyChanged.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Runtime">
|
<Reference Include="System.Runtime">
|
||||||
<HintPath>..\packages\Microsoft.Bcl.1.0.19\lib\portable-net40+sl4+win8+wp71\System.Runtime.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Bcl.1.0.19\lib\portable-net40+sl4+win8+wp71\System.Runtime.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
|
|
@ -1,89 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<Choose>
|
|
||||||
<When Condition="$(NCrunchOriginalSolutionDir) != '' And $(NCrunchOriginalSolutionDir) != '*Undefined*'">
|
|
||||||
<PropertyGroup>
|
|
||||||
<FodySolutionDir>$(NCrunchOriginalSolutionDir)</FodySolutionDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
<When Condition="$(SolutionDir) != '' And $(SolutionDir) != '*Undefined*'">
|
|
||||||
<PropertyGroup>
|
|
||||||
<FodySolutionDir>$(SolutionDir)</FodySolutionDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
<When Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">
|
|
||||||
<PropertyGroup>
|
|
||||||
<FodySolutionDir>$(MSBuildProjectDirectory)\..\</FodySolutionDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
</Choose>
|
|
||||||
<Choose>
|
|
||||||
<When Condition="$(KeyOriginatorFile) != '' And $(KeyOriginatorFile) != '*Undefined*'">
|
|
||||||
<PropertyGroup>
|
|
||||||
<FodyKeyFilePath>$(KeyOriginatorFile)</FodyKeyFilePath>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
<When Condition="$(AssemblyOriginatorKeyFile) != '' And $(AssemblyOriginatorKeyFile) != '*Undefined*'">
|
|
||||||
<PropertyGroup>
|
|
||||||
<FodyKeyFilePath>$(AssemblyOriginatorKeyFile)</FodyKeyFilePath>
|
|
||||||
</PropertyGroup>
|
|
||||||
</When>
|
|
||||||
<Otherwise >
|
|
||||||
<PropertyGroup>
|
|
||||||
<FodyKeyFilePath></FodyKeyFilePath>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Otherwise>
|
|
||||||
</Choose>
|
|
||||||
<PropertyGroup>
|
|
||||||
<IntermediateDir>$(ProjectDir)$(IntermediateOutputPath)</IntermediateDir>
|
|
||||||
<FodyMessageImportance Condition="$(FodyMessageImportance) == '' Or $(FodyMessageImportance) == '*Undefined*'">Low</FodyMessageImportance>
|
|
||||||
<FodySignAssembly Condition="$(FodySignAssembly) == '' Or $(FodySignAssembly) == '*Undefined*'">$(SignAssembly)</FodySignAssembly>
|
|
||||||
<FodyPath Condition="$(FodyPath) == '' Or $(FodyPath) == '*Undefined*'">$(MSBuildThisFileDirectory)</FodyPath>
|
|
||||||
</PropertyGroup>
|
|
||||||
<UsingTask
|
|
||||||
TaskName="Fody.WeavingTask"
|
|
||||||
AssemblyFile="$(FodyPath)\Fody.dll" />
|
|
||||||
<Target
|
|
||||||
AfterTargets="AfterCompile"
|
|
||||||
Name="WinFodyTarget"
|
|
||||||
Condition=" '$(OS)' == 'Windows_NT'">
|
|
||||||
|
|
||||||
<Fody.WeavingTask
|
|
||||||
AssemblyPath="@(IntermediateAssembly)"
|
|
||||||
IntermediateDir="$(IntermediateDir)"
|
|
||||||
KeyFilePath="$(FodyKeyFilePath)"
|
|
||||||
MessageImportance="$(FodyMessageImportance)"
|
|
||||||
ProjectDirectory="$(ProjectDir)"
|
|
||||||
SolutionDir="$(FodySolutionDir)"
|
|
||||||
References="@(ReferencePath)"
|
|
||||||
SignAssembly="$(FodySignAssembly)"
|
|
||||||
ReferenceCopyLocalPaths="@(ReferenceCopyLocalPaths)"
|
|
||||||
DefineConstants="$(DefineConstants)"
|
|
||||||
/>
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
<Target
|
|
||||||
AfterTargets="AfterBuild"
|
|
||||||
Name="NonWinFodyTarget"
|
|
||||||
Condition=" '$(OS)' != 'Windows_NT'">
|
|
||||||
<Fody.WeavingTask
|
|
||||||
AssemblyPath="$(TargetPath)"
|
|
||||||
IntermediateDir="$(IntermediateDir)"
|
|
||||||
KeyFilePath="$(FodyKeyFilePath)"
|
|
||||||
MessageImportance="$(FodyMessageImportance)"
|
|
||||||
ProjectDirectory="$(ProjectDir)"
|
|
||||||
SolutionDir="$(FodySolutionDir)"
|
|
||||||
References="@(ReferencePath)"
|
|
||||||
SignAssembly="$(FodySignAssembly)"
|
|
||||||
ReferenceCopyLocalPaths="$(ReferenceCopyLocalPaths)"
|
|
||||||
DefineConstants="$(DefineConstants)"
|
|
||||||
/>
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
|
|
||||||
<!--Support for ncrunch-->
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="$(FodyPath)\*.*" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
|
@ -1,4 +1,3 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Weavers>
|
<Weavers>
|
||||||
<PropertyChanged />
|
|
||||||
</Weavers>
|
</Weavers>
|
|
@ -370,9 +370,7 @@
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Fody.targets" />
|
|
||||||
<None Include="MediaBrowser.Model.snk" />
|
<None Include="MediaBrowser.Model.snk" />
|
||||||
<None Include="packages.config" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="FodyWeavers.xml" />
|
<Content Include="FodyWeavers.xml" />
|
||||||
|
@ -384,7 +382,6 @@ xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\net35\" /y /d /r /i
|
||||||
)</PostBuildEvent>
|
)</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||||
<Import Project="Fody.targets" />
|
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="Fody" version="1.17.0.0" targetFramework="net35" />
|
|
||||||
<package id="PropertyChanged.Fody" version="1.41.0.0" targetFramework="net35" />
|
|
||||||
</packages>
|
|
|
@ -158,6 +158,11 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<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" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Runtime.Serialization" />
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
using MediaBrowser.Model.Entities;
|
using System.ComponentModel;
|
||||||
|
using MediaBrowser.Model.Entities;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MediaBrowser.Model.Session
|
namespace MediaBrowser.Model.Session
|
||||||
{
|
{
|
||||||
[ImplementPropertyChanged]
|
public class SessionInfoDto : INotifyPropertyChanged
|
||||||
public class SessionInfoDto
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the id.
|
/// Gets or sets the id.
|
||||||
|
@ -107,5 +107,7 @@ namespace MediaBrowser.Model.Session
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value><c>true</c> if [supports remote control]; otherwise, <c>false</c>.</value>
|
/// <value><c>true</c> if [supports remote control]; otherwise, <c>false</c>.</value>
|
||||||
public bool SupportsRemoteControl { get; set; }
|
public bool SupportsRemoteControl { get; set; }
|
||||||
|
|
||||||
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user