Documentation modifications

This commit is contained in:
julian
2026-06-27 15:23:26 -07:00
parent a633fe6c06
commit a19fb90902
218 changed files with 2882 additions and 0 deletions
@@ -9,11 +9,21 @@ namespace adas_core.Domain.Models.DTO;
/// </summary>
public class UnitInfoDto
{
/// <summary>
/// Initializes a new instance of the <see cref="UnitInfoDto"/> data transfer object, enabling JSON deserialization via the <see cref="JsonConstructorAttribute"/>.
/// </summary>
/// <!-- aidoc:v1 sig=e9065d4 body=4448e1d -->
[JsonConstructor]
public UnitInfoDto()
{
}
/// <summary>
/// Initializes a new instance of <see cref="UnitInfoDto"/> from the supplied <paramref name="unit"/>,
/// projecting its identifier and name into the DTO with safe empty-string defaults for the display fields.
/// </summary>
/// <param name="unit">The optional <see cref="Unit"/> whose values populate the DTO; when null, the string properties default to <see cref="string.Empty"/>.</param>
/// <!-- aidoc:v1 sig=98aa992 body=1d6ed29 -->
public UnitInfoDto(Unit? unit)
{
Id = unit?.Id;