Skip to content

Commit 59e46e5

Browse files
author
Jani Giannoudis
committed
collector runtime and function: changed collect type to collect mode, added negated
updated version to 0.5.0-pre-230710-3
1 parent 6940a66 commit 59e46e5

File tree

5 files changed

+24
-11
lines changed

5 files changed

+24
-11
lines changed

Client.Scripting/Function/CollectorFunction.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ protected CollectorFunction(object runtime) :
1919
// collector
2020
CollectorName = Runtime.CollectorName;
2121
CollectorGroups = Runtime.CollectorGroups;
22-
CollectType = Runtime.CollectType;
22+
CollectMode = Runtime.CollectMode;
23+
Negated = Runtime.Negated;
2324
CollectorThreshold = Runtime.CollectorThreshold;
2425
CollectorMinResult = Runtime.CollectorMinResult;
2526
CollectorMaxResult = Runtime.CollectorMaxResult;
@@ -60,8 +61,11 @@ protected CollectorFunction(string sourceFileName) :
6061
/// <summary>The collector groups</summary>
6162
public string[] CollectorGroups { get; }
6263

63-
/// <summary>The collect type</summary>
64-
public string CollectType { get; }
64+
/// <summary>The collect mode</summary>
65+
public string CollectMode { get; }
66+
67+
/// <summary>Negated collector result</summary>
68+
public bool Negated { get; }
6569

6670
/// <summary>The threshold value</summary>
6771
public decimal? CollectorThreshold { get; }

Client.Scripting/PayrollEngine.Client.Scripting.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175

176176
<ItemGroup>
177177
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.6.0" />
178-
<PackageReference Include="PayrollEngine.Client.Core" Version="0.5.0-pre-230710" />
178+
<PackageReference Include="PayrollEngine.Client.Core" Version="0.5.0-pre-230710-3" />
179179
</ItemGroup>
180180

181181
<!-- include xml documention files and json schemas to the nuget package -->

Client.Scripting/PayrollEngine.Client.Scripting.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5218,8 +5218,11 @@
52185218
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorGroups">
52195219
<summary>The collector groups</summary>
52205220
</member>
5221-
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectType">
5222-
<summary>The collect type</summary>
5221+
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectMode">
5222+
<summary>The collect mode</summary>
5223+
</member>
5224+
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.Negated">
5225+
<summary>Negated collector result</summary>
52235226
</member>
52245227
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorThreshold">
52255228
<summary>The threshold value</summary>
@@ -8884,8 +8887,11 @@
88848887
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorGroups">
88858888
<summary>The collector groups</summary>
88868889
</member>
8887-
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectType">
8888-
<summary>The collect type</summary>
8890+
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectMode">
8891+
<summary>The collect mode</summary>
8892+
</member>
8893+
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.Negated">
8894+
<summary>Negated collector result</summary>
88898895
</member>
88908896
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorThreshold">
88918897
<summary>The threshold value</summary>

Client.Scripting/Runtime/ICollectorRuntime.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ public interface ICollectorRuntime : IPayrunRuntime
1212
/// <summary>The collector groups</summary>
1313
string[] CollectorGroups { get; }
1414

15-
/// <summary>The collect type</summary>
16-
string CollectType { get; }
15+
/// <summary>The collect mode</summary>
16+
string CollectMode { get; }
17+
18+
/// <summary>Negated collector result</summary>
19+
bool Negated{ get; }
1720

1821
/// <summary>The threshold value</summary>
1922
decimal? CollectorThreshold { get; }

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net7.0</TargetFramework>
5-
<Version>0.5.0-pre-230710</Version>
5+
<Version>0.5.0-pre-230710-3</Version>
66
<FileVersion>0.5.0</FileVersion>
77
<InformationalVersion></InformationalVersion>
88
<Authors>Jani Giannoudis</Authors>

0 commit comments

Comments
 (0)