Force json lookup to use lowercase name when value is assigned to both values (#400)

This commit is contained in:
syntaxonline-rewhitley 2020-10-11 08:31:23 -04:00 committed by GitHub
parent bab3fa7f7b
commit 2ac2aa4fdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
using System;
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@ -26,8 +26,8 @@ namespace Elsa.Services
[ActivityProperty(Label = "Name", Hint = "Optionally provide a name for this activity. You can reference named activities from expressions.")]
public string Name {
get => GetState<string>();
set => SetState(value);
get => State.GetState<string>("name");
set => State.SetState("name", value);
}
[ActivityProperty(Hint = "Optionally provide a custom title for this activity.")]