diff --git a/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/EndUser/DialogSeenLogs/Search/SearchDialogSeenLogEndpoint.cs b/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/EndUser/DialogSeenLogs/Search/SearchDialogSeenLogEndpoint.cs index 63a24379c..b734d06bc 100644 --- a/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/EndUser/DialogSeenLogs/Search/SearchDialogSeenLogEndpoint.cs +++ b/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/EndUser/DialogSeenLogs/Search/SearchDialogSeenLogEndpoint.cs @@ -31,6 +31,6 @@ await result.Match( dto => SendOkAsync(dto, ct), notFound => this.NotFoundAsync(notFound, ct), deleted => this.GoneAsync(deleted, ct), - forbiden => this.ForbiddenAsync(forbiden, ct)); + forbidden => this.ForbiddenAsync(forbidden, ct)); } } diff --git a/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDialogElementEndpoint.cs b/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDialogElementEndpoint.cs index ffcc97131..81ee17c3b 100644 --- a/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDialogElementEndpoint.cs +++ b/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDialogElementEndpoint.cs @@ -21,7 +21,7 @@ public override void Configure() Policies(AuthorizationPolicy.ServiceProvider); Group(); - Description(b => GetDiailogElementSwaggerConfig.SetDescription(b)); + Description(b => GetDialogElementSwaggerConfig.SetDescription(b)); } public override async Task HandleAsync(GetDialogElementQuery req, CancellationToken ct) diff --git a/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDiailogElementSwaggerConfig.cs b/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDialogElementSwaggerConfig.cs similarity index 96% rename from src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDiailogElementSwaggerConfig.cs rename to src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDialogElementSwaggerConfig.cs index 7d5856f0c..147c4ed66 100644 --- a/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDiailogElementSwaggerConfig.cs +++ b/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/ServiceOwner/DialogElements/Get/GetDialogElementSwaggerConfig.cs @@ -7,7 +7,7 @@ namespace Digdir.Domain.Dialogporten.WebApi.Endpoints.V1.ServiceOwner.DialogElements.Get; -public class GetDiailogElementSwaggerConfig : ISwaggerConfig +public class GetDialogElementSwaggerConfig : ISwaggerConfig { public static string OperationId => "GetDialogElementSO"; diff --git a/src/Digdir.Library.Entity.Abstractions/Features/Aggregate/AggregateNode.cs b/src/Digdir.Library.Entity.Abstractions/Features/Aggregate/AggregateNode.cs index 300597e6a..9c729f4f2 100644 --- a/src/Digdir.Library.Entity.Abstractions/Features/Aggregate/AggregateNode.cs +++ b/src/Digdir.Library.Entity.Abstractions/Features/Aggregate/AggregateNode.cs @@ -124,7 +124,7 @@ public enum AggregateNodeState Modified = 2, /// - /// The entity, or part of its aggregate parent chain have been marked for deleation. + /// The entity, or part of its aggregate parent chain have been marked for deletion. /// Deleted = 3, diff --git a/src/Digdir.Library.Entity.Abstractions/Features/Aggregate/IAggregateChangedHandler.cs b/src/Digdir.Library.Entity.Abstractions/Features/Aggregate/IAggregateChangedHandler.cs index ad824a5fa..887e8d75a 100644 --- a/src/Digdir.Library.Entity.Abstractions/Features/Aggregate/IAggregateChangedHandler.cs +++ b/src/Digdir.Library.Entity.Abstractions/Features/Aggregate/IAggregateChangedHandler.cs @@ -52,9 +52,9 @@ public interface IAggregateDeletedHandler public interface IAggregateRestoredHandler { /// - /// Handles the restauration of the entity, including associated metadata. + /// Handles the restoration of the entity, including associated metadata. /// /// The aggregate representing this entity with metadata. - /// The timestamp of the restauration event in UTC time. + /// The timestamp of the restoration event in UTC time. void OnRestore(AggregateNode self, DateTimeOffset utcNow); } diff --git a/src/Digdir.Library.Entity.Abstractions/Features/EventPublisher/IDomainEvent.cs b/src/Digdir.Library.Entity.Abstractions/Features/EventPublisher/IDomainEvent.cs index 5245ba410..53798f353 100644 --- a/src/Digdir.Library.Entity.Abstractions/Features/EventPublisher/IDomainEvent.cs +++ b/src/Digdir.Library.Entity.Abstractions/Features/EventPublisher/IDomainEvent.cs @@ -8,7 +8,7 @@ namespace Digdir.Library.Entity.Abstractions.Features.EventPublisher; public interface IDomainEvent : INotification { /// - /// The events identification. This can be used by consumers to ensure exacly once processing. + /// The events identification. This can be used by consumers to ensure exactly once processing. /// Guid EventId { get; } diff --git a/src/Digdir.Library.Entity.EntityFrameworkCore/Features/Aggregate/AggregateExtensions.cs b/src/Digdir.Library.Entity.EntityFrameworkCore/Features/Aggregate/AggregateExtensions.cs index d9b7f734c..109abdd5b 100644 --- a/src/Digdir.Library.Entity.EntityFrameworkCore/Features/Aggregate/AggregateExtensions.cs +++ b/src/Digdir.Library.Entity.EntityFrameworkCore/Features/Aggregate/AggregateExtensions.cs @@ -218,8 +218,8 @@ private static async Task AddAggregateChildChain( var childNav = parentEntry.Navigation(childForeignKey.PrincipalToDependent!.Name); // if (!childNav.IsLoaded) // { - // // Alternativ 1: Throw! - // // Alternativ 2: Log Warning! + // // Alternative 1: Throw! + // // Alternative 2: Log Warning! // } await childNav.LoadAsync(cancellationToken); var currentValues = childNav.Metadata.IsCollection