Skip to content

Commit 6940a66

Browse files
author
Jani Giannoudis
committed
collector runtime/function: updated property names
updated version to 0.5.0-pre-230710
1 parent e782984 commit 6940a66

File tree

5 files changed

+32
-26
lines changed

5 files changed

+32
-26
lines changed

Client.Scripting/Function/CollectorFunction.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ protected CollectorFunction(object runtime) :
2525
CollectorMaxResult = Runtime.CollectorMaxResult;
2626
CollectorResult = Runtime.CollectorResult;
2727
CollectorCount = Runtime.CollectorCount;
28-
CollectorSum = Runtime.CollectorSum;
29-
CollectorMin = Runtime.CollectorMin;
30-
CollectorMax = Runtime.CollectorMax;
28+
CollectorSummary = Runtime.CollectorSummary;
29+
CollectorMinimum = Runtime.CollectorMinimum;
30+
CollectorMaximum = Runtime.CollectorMaximum;
3131
CollectorAverage = Runtime.CollectorAverage;
3232

3333
// lookups
@@ -79,13 +79,13 @@ protected CollectorFunction(string sourceFileName) :
7979
public decimal CollectorCount { get; }
8080

8181
/// <summary>The summary of the collected value</summary>
82-
public decimal CollectorSum { get; }
82+
public decimal CollectorSummary { get; }
8383

8484
/// <summary>The minimum collected value</summary>
85-
public decimal CollectorMin { get; }
85+
public decimal CollectorMinimum { get; }
8686

8787
/// <summary>The maximum collected value</summary>
88-
public decimal CollectorMax { get; }
88+
public decimal CollectorMaximum { get; }
8989

9090
/// <summary>The average of the collected value</summary>
9191
public decimal CollectorAverage { 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-230709-2" />
178+
<PackageReference Include="PayrollEngine.Client.Core" Version="0.5.0-pre-230710" />
179179
</ItemGroup>
180180

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

Client.Scripting/PayrollEngine.Client.Scripting.xml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5236,13 +5236,13 @@
52365236
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorCount">
52375237
<summary>Collected values count</summary>
52385238
</member>
5239-
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorSum">
5239+
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorSummary">
52405240
<summary>The summary of the collected value</summary>
52415241
</member>
5242-
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorMin">
5242+
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorMinimum">
52435243
<summary>The minimum collected value</summary>
52445244
</member>
5245-
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorMax">
5245+
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorMaximum">
52465246
<summary>The maximum collected value</summary>
52475247
</member>
52485248
<member name="P:PayrollEngine.Client.Scripting.Function.CollectorFunction.CollectorAverage">
@@ -8902,17 +8902,20 @@
89028902
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorCount">
89038903
<summary>Collected values count</summary>
89048904
</member>
8905-
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorSum">
8906-
<summary>The summary of the collected value</summary>
8905+
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorSummary">
8906+
<summary>The summary of the collected values</summary>
89078907
</member>
8908-
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorMin">
8909-
<summary>The minimum collected value</summary>
8908+
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorMinimum">
8909+
<summary>The minimum collected values</summary>
89108910
</member>
8911-
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorMax">
8912-
<summary>The maximum collected value</summary>
8911+
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorMaximum">
8912+
<summary>The maximum collected values</summary>
89138913
</member>
89148914
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorAverage">
8915-
<summary>The average of the collected value</summary>
8915+
<summary>The average of the collected values</summary>
8916+
</member>
8917+
<member name="P:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.CollectorRange">
8918+
<summary>The range of the collected values</summary>
89168919
</member>
89178920
<member name="M:PayrollEngine.Client.Scripting.Runtime.ICollectorRuntime.GetResultTags">
89188921
<summary>Get the wage type result tags</summary>

Client.Scripting/Runtime/ICollectorRuntime.cs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,21 @@ public interface ICollectorRuntime : IPayrunRuntime
3030
/// <summary>Collected values count</summary>
3131
decimal CollectorCount { get; }
3232

33-
/// <summary>The summary of the collected value</summary>
34-
decimal CollectorSum { get; }
33+
/// <summary>The summary of the collected values</summary>
34+
decimal CollectorSummary { get; }
3535

36-
/// <summary>The minimum collected value</summary>
37-
decimal CollectorMin { get; }
36+
/// <summary>The minimum collected values</summary>
37+
decimal CollectorMinimum { get; }
3838

39-
/// <summary>The maximum collected value</summary>
40-
decimal CollectorMax { get; }
39+
/// <summary>The maximum collected values</summary>
40+
decimal CollectorMaximum { get; }
4141

42-
/// <summary>The average of the collected value</summary>
42+
/// <summary>The average of the collected values</summary>
4343
decimal CollectorAverage { get; }
4444

45+
/// <summary>The range of the collected values</summary>
46+
decimal CollectorRange { get; }
47+
4548
/// <summary>Get the wage type result tags</summary>
4649
/// <returns>The wage type result tags</returns>
4750
List<string> GetResultTags();
@@ -102,7 +105,7 @@ void AddPayrunResult(string source, string name, string value, int valueType,
102105
/// <param name="valueType">The result value type (numeric), default is the collector value type</param>
103106
void AddCustomResult(string source, decimal value, DateTime startDate, DateTime endDate,
104107
List<string> tags, Dictionary<string, object> attributes, int? valueType);
105-
108+
106109
#endregion
107110

108111
#region Retro

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-230709-2</Version>
5+
<Version>0.5.0-pre-230710</Version>
66
<FileVersion>0.5.0</FileVersion>
77
<InformationalVersion></InformationalVersion>
88
<Authors>Jani Giannoudis</Authors>

0 commit comments

Comments
 (0)