Skip to content

Commit fdf796a

Browse files
author
Jani Giannoudis
committed
updated nugets
updated to version 0.8.0-beta.2
1 parent 822cec4 commit fdf796a

15 files changed

+22
-24
lines changed

Client.Services/PayrollEngine.Client.Services.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
<ItemGroup>
1717
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
18-
<PackageReference Include="PayrollEngine.Client.Scripting" Version="0.8.0-beta.1" />
19-
<PackageReference Include="PayrollEngine.Client.Test" Version="0.8.0-beta.1" />
18+
<PackageReference Include="PayrollEngine.Client.Scripting" Version="0.8.0-beta.2" />
19+
<PackageReference Include="PayrollEngine.Client.Test" Version="0.8.0-beta.2" />
2020
</ItemGroup>
2121

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

Client.Services/PayrollEngine.Client.Services.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Client.Services/Scripting.Function.Api/QueryInvoker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public async Tasks.Task<DataSet> InvokeQueriesAsync(int tenantId, int regulation
131131

132132
// result data set
133133
Data.DataSet dataSet = new(reportName);
134-
dataSet.Tables ??= new();
134+
dataSet.Tables ??= [];
135135

136136
// report
137137
var report = await new ReportSetService(HttpClient).

Client.Services/Scripting.Function.Api/ReportParameterParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class ReportParameterParser
1616
/// <summary>The tenant id</summary>
1717
public int TenantId { get; }
1818

19-
/// <summary>The regulation id id</summary>
19+
/// <summary>The regulation id</summary>
2020
public int? RegulationId { get; }
2121

2222
/// <summary>Parser constructor</summary>

Client.Services/Scripting.Function.Api/ReportStartFunctionResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class ReportStartFunctionResult : FunctionResultBase
99
/// <summary>The report queries</summary>
1010
public IDictionary<string, string> Queries { get; set; }
1111

12-
/// <summary>The queries results</summary>
12+
/// <summary>The query results</summary>
1313
public DataSet DataSet { get; set; }
1414

1515
/// <summary>Returns a string that represents this instance</summary>

Client.Services/Scripting.Runtime.Api/CaseAvailableRuntime.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using PayrollEngine.Client.Model;
22
using PayrollEngine.Client.Scripting.Function;
3-
using System;
43

54
namespace PayrollEngine.Client.Scripting.Runtime.Api;
65

@@ -26,7 +25,7 @@ public CaseAvailableRuntime(PayrollHttpClient httpClient, ScriptCalendar scriptC
2625

2726
/// <inheritdoc />
2827
public string[] GetAvailableActions() =>
29-
Case.AvailableActions == null ? Array.Empty<string>() :
28+
Case.AvailableActions == null ? [] :
3029
Case.AvailableActions.ToArray();
3130

3231
}

Client.Services/Scripting.Runtime.Api/CaseBuildRuntime.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public CaseBuildRuntime(PayrollHttpClient httpClient, ScriptCalendar calendar, i
2828

2929
/// <inheritdoc />
3030
public string[] GetBuildActions() =>
31-
Case.BuildActions == null ? Array.Empty<string>() :
31+
Case.BuildActions == null ? [] :
3232
Case.BuildActions.ToArray();
3333

3434
#endregion
@@ -49,7 +49,7 @@ public string[] GetFieldBuildActions(string caseFieldName)
4949
{
5050
throw new ArgumentException($"unknown case field {caseFieldName}");
5151
}
52-
return caseField.BuildActions == null ? Array.Empty<string>() : caseField.BuildActions.ToArray();
52+
return caseField.BuildActions == null ? [] : caseField.BuildActions.ToArray();
5353
}
5454

5555
#endregion

Client.Services/Scripting.Runtime.Api/CaseChangeRuntimeBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public bool AddCaseValueTag(string caseFieldName, string tag)
201201
{
202202
return false;
203203
}
204-
caseFieldSet.Tags ??= new();
204+
caseFieldSet.Tags ??= [];
205205
if (!caseFieldSet.Tags.Contains(tag))
206206
{
207207
caseFieldSet.Tags.Add(tag);

Client.Services/Scripting.Runtime.Api/CaseRelationBuildRuntime.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using PayrollEngine.Client.Model;
22
using PayrollEngine.Client.Scripting.Function;
3-
using System;
43

54
namespace PayrollEngine.Client.Scripting.Runtime.Api;
65

@@ -26,5 +25,5 @@ public CaseRelationBuildRuntime(PayrollHttpClient httpClient, ScriptCalendar cal
2625
protected override string LogOwnerType => nameof(CaseRelationBuildFunction);
2726

2827
/// <inheritdoc />
29-
public string[] GetBuildActions() => Array.Empty<string>();
28+
public string[] GetBuildActions() => [];
3029
}

Client.Services/Scripting.Runtime.Api/CaseRelationValidateRuntime.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace PayrollEngine.Client.Scripting.Runtime.Api;
1010
public class CaseRelationValidateRuntime : CaseRelationRuntimeBase, ICaseRelationValidateRuntime
1111
{
1212
/// <summary>The validation issues</summary>
13-
public List<CaseValidationIssue> Issues { get; } = new();
13+
public List<CaseValidationIssue> Issues { get; } = [];
1414

1515
/// <summary>Initializes a new instance of the <see cref="CaseRelationValidateRuntime"/> class</summary>
1616
/// <param name="httpClient">The Payroll http client</param>
@@ -31,7 +31,7 @@ public CaseRelationValidateRuntime(PayrollHttpClient httpClient, ScriptCalendar
3131
protected override string LogOwnerType => nameof(CaseRelationValidateFunction);
3232

3333
/// <inheritdoc />
34-
public string[] GetValidateActions() => Array.Empty<string>();
34+
public string[] GetValidateActions() => [];
3535

3636
/// <inheritdoc />
3737
public bool HasIssues() => Issues.Any();

0 commit comments

Comments
 (0)