Readded DanBooruImage#Score

This commit is contained in:
2020-03-28 13:13:51 +00:00
parent f12f9d70a0
commit 7266a2162d
2 changed files with 8 additions and 5 deletions

View File

@@ -24,11 +24,11 @@ Yande.re</Description>
<PackageTags>booru imageboard api wrapper</PackageTags>
<PackageLicenseUrl></PackageLicenseUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Version>2.0.1</Version>
<Version>2.0.2</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<AssemblyVersion>2.0.1.0</AssemblyVersion>
<FileVersion>2.0.1.0</FileVersion>
<PackageReleaseNotes>Fix a few fields not being visible on E621Image#Score</PackageReleaseNotes>
<AssemblyVersion>2.0.2.0</AssemblyVersion>
<FileVersion>2.0.2.0</FileVersion>
<PackageReleaseNotes>Readded DanBooruImage#Score from Inheritence Rework</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

View File

@@ -4,7 +4,10 @@ using System.Collections.Generic;
namespace Booru.Net
{
public class DanbooruImage : BooruImage
{
{
[JsonProperty("score")]
public int? Score { get; set; }
[JsonProperty("tag_string")]
private string TagString { get; set; }