From 46ed83e7d61b1a962de61569f1b5b7308250c980 Mon Sep 17 00:00:00 2001 From: HauklandJ Date: Fri, 13 Dec 2024 13:57:17 +0100 Subject: [PATCH] add missing xml comments --- src/Altinn.App.Core/Extensions/StringExtensions.cs | 2 +- src/Altinn.App.Core/Features/Signing/Models/SigneeContext.cs | 4 ++-- src/Altinn.App.Core/Features/Signing/Models/SigneeParty.cs | 4 ++-- src/Altinn.App.Core/Interface/IAppResources.cs | 2 +- src/Altinn.App.Core/Internal/App/IAppResources.cs | 2 +- .../Internal/Process/Elements/ExclusiveGateway.cs | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Altinn.App.Core/Extensions/StringExtensions.cs b/src/Altinn.App.Core/Extensions/StringExtensions.cs index c738d065b..c4058ad63 100644 --- a/src/Altinn.App.Core/Extensions/StringExtensions.cs +++ b/src/Altinn.App.Core/Extensions/StringExtensions.cs @@ -29,7 +29,7 @@ public static bool DoesNotContain(this string s, char ch) } /// - /// + /// Checks if a given character exists within a string /// /// true if it contains exactly one, false if it contains zero or more than one public static bool ContainsExactlyOne(this string s, char ch) diff --git a/src/Altinn.App.Core/Features/Signing/Models/SigneeContext.cs b/src/Altinn.App.Core/Features/Signing/Models/SigneeContext.cs index 0ffaf7362..b572e9e72 100644 --- a/src/Altinn.App.Core/Features/Signing/Models/SigneeContext.cs +++ b/src/Altinn.App.Core/Features/Signing/Models/SigneeContext.cs @@ -28,13 +28,13 @@ public sealed class SigneeContext // public required SigneeParty SigneeParty { get; set; } /// - /// + /// The organisation signee. /// [JsonPropertyName("organisationSignee")] public OrganisationSignee? OrganisationSignee { get; set; } /// - /// + /// The person signee. /// [JsonPropertyName("personSignee")] public PersonSignee? PersonSignee { get; set; } diff --git a/src/Altinn.App.Core/Features/Signing/Models/SigneeParty.cs b/src/Altinn.App.Core/Features/Signing/Models/SigneeParty.cs index bf7664e9a..de8d4ce61 100644 --- a/src/Altinn.App.Core/Features/Signing/Models/SigneeParty.cs +++ b/src/Altinn.App.Core/Features/Signing/Models/SigneeParty.cs @@ -8,7 +8,7 @@ namespace Altinn.App.Core.Features.Signing.Models; public class PersonSignee : ISigneeParty { /// - /// + /// The name of the signee. /// [JsonPropertyName("displayName")] public required string DisplayName { get; init; } @@ -44,7 +44,7 @@ public class PersonSignee : ISigneeParty public class OrganisationSignee : ISigneeParty { /// - /// + /// The name of the organisation. /// [JsonPropertyName("displayName")] public required string DisplayName { get; init; } diff --git a/src/Altinn.App.Core/Interface/IAppResources.cs b/src/Altinn.App.Core/Interface/IAppResources.cs index cbdccebc7..92c1985af 100644 --- a/src/Altinn.App.Core/Interface/IAppResources.cs +++ b/src/Altinn.App.Core/Interface/IAppResources.cs @@ -140,7 +140,7 @@ public interface IAppResources LayoutSets? GetLayoutSet(); /// - /// + /// Get the layout set definition for a given task. Return null if no layoutsets exists /// LayoutSet? GetLayoutSetForTask(string taskId); diff --git a/src/Altinn.App.Core/Internal/App/IAppResources.cs b/src/Altinn.App.Core/Internal/App/IAppResources.cs index 747e43221..c1713f3b1 100644 --- a/src/Altinn.App.Core/Internal/App/IAppResources.cs +++ b/src/Altinn.App.Core/Internal/App/IAppResources.cs @@ -114,7 +114,7 @@ public interface IAppResources LayoutSets? GetLayoutSet(); /// - /// + /// Get the layout set definition for a given task. Return null if no layoutsets exists /// LayoutSet? GetLayoutSetForTask(string taskId); diff --git a/src/Altinn.App.Core/Internal/Process/Elements/ExclusiveGateway.cs b/src/Altinn.App.Core/Internal/Process/Elements/ExclusiveGateway.cs index d27399685..08983d419 100644 --- a/src/Altinn.App.Core/Internal/Process/Elements/ExclusiveGateway.cs +++ b/src/Altinn.App.Core/Internal/Process/Elements/ExclusiveGateway.cs @@ -15,7 +15,7 @@ public class ExclusiveGateway : ProcessElement public string? Default { get; set; } /// - /// + /// Gets or sets the extension elements of the exclusive gateway. /// [XmlElement("extensionElements")] public ExtensionElements? ExtensionElements { get; set; }