remove INPC and add item ID to images + videos
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<Weavers>
|
|
||||||
<PropertyChanged />
|
|
||||||
</Weavers>
|
|
||||||
@@ -1,10 +1,6 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace PocketSharp.Models
|
namespace PocketSharp.Models
|
||||||
{
|
{
|
||||||
@@ -12,7 +8,6 @@ namespace PocketSharp.Models
|
|||||||
/// Article
|
/// Article
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
|
||||||
public class PocketArticle
|
public class PocketArticle
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace PocketSharp.Models
|
namespace PocketSharp.Models
|
||||||
@@ -8,7 +7,6 @@ namespace PocketSharp.Models
|
|||||||
/// Author
|
/// Author
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
|
||||||
public class PocketAuthor
|
public class PocketAuthor
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace PocketSharp.Models
|
namespace PocketSharp.Models
|
||||||
@@ -8,7 +7,6 @@ namespace PocketSharp.Models
|
|||||||
/// Image
|
/// Image
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
|
||||||
public class PocketImage
|
public class PocketImage
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -20,6 +18,15 @@ namespace PocketSharp.Models
|
|||||||
[JsonProperty("image_id")]
|
[JsonProperty("image_id")]
|
||||||
public string ID { get; set; }
|
public string ID { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the Item ID.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>
|
||||||
|
/// The Item ID.
|
||||||
|
/// </value>
|
||||||
|
[JsonProperty("item_id")]
|
||||||
|
public string ItemID { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the caption.
|
/// Gets or sets the caption.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
@@ -12,7 +11,6 @@ namespace PocketSharp.Models
|
|||||||
/// see: http://getpocket.com/developer/docs/v3/retrieve
|
/// see: http://getpocket.com/developer/docs/v3/retrieve
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
|
||||||
[DebuggerDisplay("Uri = {Uri}, Title = {Title}")]
|
[DebuggerDisplay("Uri = {Uri}, Title = {Title}")]
|
||||||
public class PocketItem : IComparable
|
public class PocketItem : IComparable
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
|
||||||
|
|
||||||
namespace PocketSharp.Models
|
namespace PocketSharp.Models
|
||||||
{
|
{
|
||||||
@@ -7,7 +6,6 @@ namespace PocketSharp.Models
|
|||||||
/// API Limitation Statistics
|
/// API Limitation Statistics
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
|
||||||
public class PocketLimits
|
public class PocketLimits
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
|
||||||
|
|
||||||
namespace PocketSharp.Models
|
namespace PocketSharp.Models
|
||||||
{
|
{
|
||||||
@@ -7,7 +6,6 @@ namespace PocketSharp.Models
|
|||||||
/// Statistics
|
/// Statistics
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
|
||||||
public class PocketStatistics
|
public class PocketStatistics
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
|
||||||
|
|
||||||
namespace PocketSharp.Models
|
namespace PocketSharp.Models
|
||||||
{
|
{
|
||||||
@@ -7,7 +6,6 @@ namespace PocketSharp.Models
|
|||||||
/// Tag
|
/// Tag
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
|
||||||
public class PocketTag
|
public class PocketTag
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
|
||||||
|
|
||||||
namespace PocketSharp.Models
|
namespace PocketSharp.Models
|
||||||
{
|
{
|
||||||
@@ -7,7 +6,6 @@ namespace PocketSharp.Models
|
|||||||
/// Access Code
|
/// Access Code
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
|
||||||
public class PocketUser
|
public class PocketUser
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace PocketSharp.Models
|
namespace PocketSharp.Models
|
||||||
@@ -8,7 +7,6 @@ namespace PocketSharp.Models
|
|||||||
/// Video
|
/// Video
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
|
||||||
public class PocketVideo
|
public class PocketVideo
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -20,6 +18,15 @@ namespace PocketSharp.Models
|
|||||||
[JsonProperty("video_id")]
|
[JsonProperty("video_id")]
|
||||||
public string ID { get; set; }
|
public string ID { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the Item ID.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>
|
||||||
|
/// The Item ID.
|
||||||
|
/// </value>
|
||||||
|
[JsonProperty("item_id")]
|
||||||
|
public string ItemID { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the external ID.
|
/// Gets or sets the external ID.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -93,11 +93,6 @@
|
|||||||
<Compile Include="Utilities\PocketRequestException.cs" />
|
<Compile Include="Utilities\PocketRequestException.cs" />
|
||||||
<Compile Include="Utilities\Utilities.cs" />
|
<Compile Include="Utilities\Utilities.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="FodyWeavers.xml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Content>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
@@ -111,17 +106,15 @@
|
|||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Newtonsoft.Json.7.0.1\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.7.0.1\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="PropertyChanged, Version=1.50.3.0, Culture=neutral, PublicKeyToken=ee3ee20bcf148ddd, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\PropertyChanged.Fody.1.50.3\lib\portable-net4+sl4+wp8+win8+wpa81+MonoAndroid16+MonoTouch40\PropertyChanged.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
@@ -142,10 +135,8 @@
|
|||||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
|
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
|
||||||
<Error Condition="!Exists('..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets'))" />
|
|
||||||
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
|
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
|
||||||
</Target>
|
</Target>
|
||||||
<Import Project="..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets" Condition="Exists('..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets')" />
|
|
||||||
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
|
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.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.
|
||||||
|
|||||||
@@ -22,5 +22,5 @@
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("4.2.0.0")]
|
[assembly: AssemblyVersion("4.3.0.0")]
|
||||||
[assembly: AssemblyFileVersion("4.2.0.0")]
|
[assembly: AssemblyFileVersion("4.3.0.0")]
|
||||||
@@ -1,9 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="Fody" version="1.29.3" targetFramework="portable45-net45+win8+wp8+wpa81" developmentDependency="true" />
|
|
||||||
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="portable45-net45+win8+wp8+wpa81" />
|
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="portable45-net45+win8+wp8+wpa81" />
|
||||||
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="portable45-net45+win8+wp8+wpa81" />
|
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="portable45-net45+win8+wp8+wpa81" />
|
||||||
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="portable45-net45+win8+wp8+wpa81" />
|
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="portable45-net45+win8+wp8+wpa81" />
|
||||||
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="portable45-net45+win8+wp8+wpa81" />
|
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="portable45-net45+win8+wp8+wpa81" />
|
||||||
<package id="PropertyChanged.Fody" version="1.50.3" targetFramework="portable45-net45+win8+wp8+wpa81" developmentDependency="true" />
|
|
||||||
</packages>
|
</packages>
|
||||||
Reference in New Issue
Block a user