refactor: improve formatting and documentation in IEntity and IResponse interfaces

This commit is contained in:
Jean Gatto
2025-08-22 09:39:16 -03:00
parent 422cada734
commit f1afd41888
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ public interface IEntity;
/// This is the base interface for all entities with a key. /// This is the base interface for all entities with a key.
/// </summary> /// </summary>
/// <typeparam name="TKey">The type of the entity key.</typeparam> /// <typeparam name="TKey">The type of the entity key.</typeparam>
public interface IEntity<out TKey> : IEntity where TKey : IEquatable<TKey> public interface IEntity<out TKey> : IEntity
where TKey : IEquatable<TKey>
{ {
/// <summary> /// <summary>
/// Gets the ID of the entity. /// Gets the ID of the entity.
+3
View File
@@ -1,3 +1,6 @@
namespace Shop.Core.SharedKernel; namespace Shop.Core.SharedKernel;
/// <summary>
/// Represents a response from a query.
/// </summary>
public interface IResponse; public interface IResponse;