mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
fix: update target frameworks and package references; change culture to InvariantCulture
This commit is contained in:
parent
dbab427d69
commit
8be5481ac9
29 changed files with 160 additions and 64 deletions
|
|
@ -1,6 +1,8 @@
|
|||
using System;
|
||||
extern alias NewtonsoftJson;
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using JArray = NewtonsoftJson::Newtonsoft.Json.Linq.JArray;
|
||||
using Serilog.Events;
|
||||
|
||||
namespace PepperDash.Core.JsonToSimpl
|
||||
|
|
@ -129,7 +131,7 @@ namespace PepperDash.Core.JsonToSimpl
|
|||
var item = array.FirstOrDefault(o =>
|
||||
{
|
||||
var prop = o[SearchPropertyName];
|
||||
return prop != null && prop.Value<string>()
|
||||
return prop != null && ((string)prop)
|
||||
.Equals(SearchPropertyValue, StringComparison.OrdinalIgnoreCase);
|
||||
});
|
||||
if (item == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue