Achieves 100% XML doc coverage on non-trivial types with CS1591 enforcement via Directory.Build.props. Coverage by project: - Butter: from 6.5% to 100% (DTOs, enums, MIME types) - Lactose: from ~28% to 100% (controllers, services, repos, jobs, models) - MilkStream.Client: from ~29% to 100% (all frontend services) Uses <inheritdoc /> on repository implementations (interfaces already documented) and full <summary>/<param>/<returns> tags elsewhere. Enums include member-level docs.
20 lines
525 B
C#
20 lines
525 B
C#
namespace Butter.Dtos.User;
|
|
|
|
/// <summary>
|
|
/// Represents the data needed to register a new user.
|
|
/// </summary>
|
|
public class UserRegisterDto {
|
|
/// <summary>
|
|
/// Gets or sets the desired username.
|
|
/// </summary>
|
|
public required string Username { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the email address.
|
|
/// </summary>
|
|
public required string Email { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the password.
|
|
/// </summary>
|
|
public required string Password { get; set; }
|
|
}
|