Skip to content

Commit 8104764

Browse files
author
Jani Giannoudis
committed
comment cleanup
updated version to 0.5.0-230721-3
1 parent 0c55ebd commit 8104764

36 files changed

+1250
-83
lines changed

Client.Scripting/Extensions.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2215,11 +2215,9 @@ public static object JsonToValue(this ValueType valueType, string json)
22152215
}
22162216
}
22172217

2218-
/// <exclude />
22192218
/// <summary><see cref="Tuple">Tuple</see> extension methods (internal usage)</summary>
22202219
public static class TupleExtensions
22212220
{
2222-
/// <exclude />
22232221
/// <summary>Convert tuple values to case period values</summary>
22242222
/// <param name="values">The tuple values</param>
22252223
/// <returns>The period values</returns>
@@ -2239,7 +2237,6 @@ public static List<PeriodValue> TupleToPeriodValues(this List<Tuple<DateTime, Da
22392237
return periodValues;
22402238
}
22412239

2242-
/// <exclude />
22432240
/// <summary>Convert tuple values to a case value</summary>
22442241
/// <param name="values">The tuple values</param>
22452242
/// <param name="caseFieldName">The case field name</param>
@@ -2253,7 +2250,6 @@ public static CasePayrollValue TupleToCasePeriodValue(this List<Tuple<DateTime,
22532250
return new(caseFieldName, values.Select(x => new PeriodValue(x.Item1, x.Item2, x.Item3)));
22542251
}
22552252

2256-
/// <exclude />
22572253
/// <summary>Convert tuple values to case value</summary>
22582254
/// <param name="value">The tuple value</param>
22592255
/// <returns>The case period values</returns>
@@ -2266,7 +2262,6 @@ public static CaseValue TupleToCaseValue(this Tuple<string, DateTime, Tuple<Date
22662262
return new(value.Item1, value.Item2, value.Item3.Item1, value.Item3.Item2, new(value.Item4), value.Item5, value.Item6, value.Item7);
22672263
}
22682264

2269-
/// <exclude />
22702265
/// <summary>Convert tuple values to case values</summary>
22712266
/// <param name="values">The tuple values</param>
22722267
/// <returns>The case period values</returns>
@@ -2286,7 +2281,6 @@ public static List<CaseValue> TupleToCaseValues(this List<Tuple<string, DateTime
22862281
return caseValues;
22872282
}
22882283

2289-
/// <exclude />
22902284
/// <summary>Convert tuple values to a case value dictionary</summary>
22912285
/// <param name="values">The values</param>
22922286
/// <returns>The case values grouped by case field name</returns>
@@ -2301,7 +2295,6 @@ public static CasePayrollValueDictionary TupleToCaseValuesDictionary(this Dictio
23012295
return new(caseValues);
23022296
}
23032297

2304-
/// <exclude />
23052298
/// <summary>Convert tuple values to a collector result</summary>
23062299
/// <param name="values">The tuple values</param>
23072300
/// <returns>The collector results</returns>
@@ -2316,7 +2309,6 @@ public static List<CollectorResult> TupleToCollectorResults(this List<Tuple<stri
23162309
Attributes = x.Item5
23172310
}));
23182311

2319-
/// <exclude />
23202312
/// <summary>Convert tuple values to a collector custom result</summary>
23212313
/// <param name="values">The tuple values</param>
23222314
/// <returns>The collector custom results</returns>
@@ -2332,7 +2324,6 @@ public static List<CollectorCustomResult> TupleToCollectorCustomResults(this Lis
23322324
Attributes = x.Item6
23332325
}));
23342326

2335-
/// <exclude />
23362327
/// <summary>Convert tuple values to a wage type result</summary>
23372328
/// <param name="values">The tuple values</param>
23382329
/// <returns>The wage type results</returns>
@@ -2348,7 +2339,6 @@ public static List<WageTypeResult> TupleToWageTypeResults(this List<Tuple<decima
23482339
Attributes = x.Item6
23492340
}));
23502341

2351-
/// <exclude />
23522342
/// <summary>Convert tuple values to a wage type custom result</summary>
23532343
/// <param name="values">The tuple values</param>
23542344
/// <returns>The wage type custom results</returns>

Client.Scripting/Function/CaseAvailableFunction.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ protected CaseAvailableFunction(string sourceFileName) :
131131
public string[] GetAvailableActions() =>
132132
Runtime.GetAvailableActions();
133133

134-
/// <exclude />
134+
/// <summary>Entry point for the runtime</summary>
135+
/// <remarks>Internal usage only, do not call this method</remarks>
135136
public bool? IsAvailable()
136137
{
137138
// case available actions

Client.Scripting/Function/CaseBuildFunction.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public string[] GetBuildActions() =>
4848
public string[] GetFieldBuildActions(string caseFieldName) =>
4949
Runtime.GetFieldBuildActions(caseFieldName);
5050

51-
/// <exclude />
51+
/// <summary>Entry point for the runtime</summary>
52+
/// <remarks>Internal usage only, do not call this method</remarks>
5253
public bool? Build()
5354
{
5455
InvokeCaseFieldActions();

Client.Scripting/Function/CaseRelationBuildFunction.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ protected CaseRelationBuildFunction(string sourceFileName) :
4040
public string[] GetBuildActions() =>
4141
Runtime.GetBuildActions();
4242

43-
/// <exclude />
43+
/// <summary>Entry point for the runtime</summary>
44+
/// <remarks>Internal usage only, do not call this method</remarks>
4445
public bool? Build()
4546
{
4647
InvokeBuildActions();

Client.Scripting/Function/CaseRelationValidateFunction.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public void AddIssue(string message, int number = 0) =>
4646
public void AddIssue(string caseFieldName, string message, int number = 0) =>
4747
Runtime.AddIssue(caseFieldName, message, number);
4848

49-
/// <exclude />
49+
/// <summary>Entry point for the runtime</summary>
50+
/// <remarks>Internal usage only, do not call this method</remarks>
5051
public bool? Validate()
5152
{
5253
if (!InvokeValidateActions())

Client.Scripting/Function/CaseValidateFunction.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public void AddIssue(string message) =>
5959
public void AddIssue(string caseFieldName, string message) =>
6060
Runtime.AddIssue(caseFieldName, message);
6161

62-
/// <exclude />
62+
/// <summary>Entry point for the runtime</summary>
63+
/// <remarks>Internal usage only, do not call this method</remarks>
6364
public bool? Validate()
6465
{
6566
// case field validation

Client.Scripting/Function/CollectorApplyFunction.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ protected CollectorApplyFunction(string sourceFileName) :
5353
/// <summary>The wage type result value</summary>
5454
public decimal WageTypeValue { get; }
5555

56-
/// <exclude />
56+
/// <summary>Entry point for the runtime</summary>
57+
/// <remarks>Internal usage only, do not call this method</remarks>
5758
public decimal? GetValue()
5859
{
5960
// ReSharper disable EmptyRegion

Client.Scripting/Function/CollectorEndFunction.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ protected CollectorEndFunction(string sourceFileName) :
3232
/// <summary>Set collector values</summary>
3333
public void SetValues(decimal[] values) => Runtime.SetValues(values);
3434

35-
/// <exclude />
35+
/// <summary>Entry point for the runtime</summary>
36+
/// <remarks>Internal usage only, do not call this method</remarks>
3637
public object End()
3738
{
3839
// ReSharper disable EmptyRegion

Client.Scripting/Function/CollectorStartFunction.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ protected CollectorStartFunction(string sourceFileName) :
3232
/// <summary>Set collector values</summary>
3333
public void SetValues(decimal[] values) => Runtime.SetValues(values);
3434

35-
/// <exclude />
35+
/// <summary>Entry point for the runtime</summary>
36+
/// <remarks>Internal usage only, do not call this method</remarks>
3637
public object Start()
3738
{
3839
// ReSharper disable EmptyRegion

Client.Scripting/Function/Function.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,12 @@ namespace PayrollEngine.Client.Scripting.Function;
1111
// ReSharper disable once PartialTypeWithSinglePart
1212
public abstract partial class Function : IDisposable
1313
{
14-
/// <exclude />
1514
/// <summary>The function runtime</summary>
1615
protected dynamic Runtime { get; }
1716

18-
/// <exclude />
1917
/// <summary>The default namespace name for function actions</summary>
2018
public const string DefaultActionNamespace = "System";
2119

22-
/// <exclude />
2320
/// <summary>The input namespace name for function actions</summary>
2421
public const string InputActionNamespace = "Input";
2522

0 commit comments

Comments
 (0)