File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed
Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1- using ExpressionEngine ;
1+ using ExpressionEngine ;
22using ExpressionEngine . Functions . Base ;
33using System ;
44using System . Collections . Generic ;
@@ -10,15 +10,15 @@ namespace WorkflowEngine.Core.Expressions
1010{
1111 public class TriggerBodyFunction : IFunction
1212 {
13- private readonly TriggerOutputsFunction triggerOutputsFunction ;
13+ private readonly TriggerOutputsFunction _triggerOutputsFunction ;
1414
1515 public TriggerBodyFunction ( TriggerOutputsFunction triggerOutputsFunction )
1616 {
17- this . triggerOutputsFunction = triggerOutputsFunction ;
17+ this . _triggerOutputsFunction = triggerOutputsFunction ;
1818 }
1919 public async ValueTask < ValueContainer > ExecuteFunction ( params ValueContainer [ ] parameters )
2020 {
21- var trigger = await triggerOutputsFunction . ExecuteFunction ( ) ;
21+ var trigger = await _triggerOutputsFunction . ExecuteFunction ( ) ;
2222
2323 return trigger [ "body" ] ;
2424
Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . Collections . Generic ;
33
44namespace WorkflowEngine . Core
@@ -8,16 +8,17 @@ public interface ITrigger
88 DateTimeOffset ScheduledTime { get ; set ; }
99 string Type { get ; set ; }
1010
11- IDictionary < string , object > Inputs { get ; set ; }
11+ object Inputs { get ; set ; }
1212
1313 string Key { get ; }
1414 }
15+
1516 public class Trigger : ITrigger
1617 {
1718 public DateTimeOffset ScheduledTime { get ; set ; }
1819 public string Type { get ; set ; }
1920
20- public IDictionary < string , object > Inputs { get ; set ; } = new Dictionary < string , object > ( ) ;
21+ public object Inputs { get ; set ; } = new Dictionary < string , object > ( ) ;
2122
2223 public string Key { get ; set ; }
2324 }
Original file line number Diff line number Diff line change 99 <RepositoryUrl >https://github.com/delegateas/WorkflowEngine</RepositoryUrl >
1010 </PropertyGroup >
1111
12- <ItemGroup >
12+ <ItemGroup Condition =" $(UseEAVFromNuget) == 'false'" >
13+ <ProjectReference Include =" $(LocalExternalpath)/ExpressionEngine/ExpressionEngine/ExpressionEngine.csproj" />
14+ </ItemGroup >
15+ <ItemGroup Condition =" $(UseEAVFromNuget) != 'false'" >
1316 <PackageReference Include =" Delegate.ExpressionEngine" Version =" 4.1.2" />
17+ </ItemGroup >
18+ <ItemGroup >
19+
1420 <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 8.0.1" />
1521 <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 8.0.1" />
1622 </ItemGroup >
You can’t perform that action at this time.
0 commit comments