Enforces XML documentation on public members.

This commit is contained in:
BinaryAlley committed 2026-11-16 20:16:23 +02:00
1 parent 0daef2acab
commit 308402ad0e
202 files changed
+3901 -98

No files matched your search

@@ -9,20 +9,74 @@ namespace Lumina.Domain.Common.Errors;
/// </summary>
public static partial class Errors
{
/// <summary>
/// Groups the errors that report media contributor rule violations and missing contributors.
/// </summary>
public static class MediaContributor
{
/// <summary>
/// Gets the error that reports that the contributor name cannot be empty.
/// </summary>
public static Error ContributorNameCannotBeEmpty => Error.Validation(description: nameof(ContributorNameCannotBeEmpty));
/// <summary>
/// Gets the error that reports that the contributor display name cannot be empty.
/// </summary>
public static Error ContributorDisplayNameCannotBeEmpty => Error.Validation(description: nameof(ContributorDisplayNameCannotBeEmpty));
/// <summary>
/// Gets the error that reports that the contributor display name exceeds the maximum length of 100 characters.
/// </summary>
public static Error ContributorDisplayNameMustBeMaximum100CharactersLong => Error.Validation(description: nameof(ContributorDisplayNameMustBeMaximum100CharactersLong));
/// <summary>
/// Gets the error that reports that the contributor legal name exceeds the maximum length of 100 characters.
/// </summary>
public static Error ContributorLegalNameMustBeMaximum100CharactersLong => Error.Validation(description: nameof(ContributorLegalNameMustBeMaximum100CharactersLong));
/// <summary>
/// Gets the error that reports that the contributor role name cannot be empty.
/// </summary>
public static Error RoleNameCannotBeEmpty => Error.Validation(description: nameof(RoleNameCannotBeEmpty));
/// <summary>
/// Gets the error that reports that the contributor role name exceeds the maximum length of 50 characters.
/// </summary>
public static Error RoleNameMustBeMaximum50CharactersLong => Error.Validation(description: nameof(RoleNameMustBeMaximum50CharactersLong));
/// <summary>
/// Gets the error that reports that the contributor role category cannot be empty.
/// </summary>
public static Error RoleCategoryCannotBeEmpty => Error.Validation(description: nameof(RoleCategoryCannotBeEmpty));
/// <summary>
/// Gets the error that reports that the contributor role must not be <see langword="null"/>.
/// </summary>
public static Error ContributorRoleCannotBeNull => Error.Validation(description: nameof(ContributorRoleCannotBeNull));
/// <summary>
/// Gets the error that reports that the contributors list must not be <see langword="null"/>.
/// </summary>
public static Error ContributorsListCannotBeNull => Error.Validation(description: nameof(ContributorsListCannotBeNull));
/// <summary>
/// Gets the error that reports that the media contributor identifier cannot be empty.
/// </summary>
public static Error MediaContributorIdCannotBeEmpty => Error.Validation(description: nameof(MediaContributorIdCannotBeEmpty));
/// <summary>
/// Gets the error that reports that the requested media contributor was not found.
/// </summary>
public static Error MediaContributorNotFound => Error.NotFound(description: nameof(MediaContributorNotFound));
/// <summary>
/// Gets the error that reports that the media contributor already exists.
/// </summary>
public static Error MediaContributorAlreadyExists => Error.Conflict(description: nameof(MediaContributorAlreadyExists));
/// <summary>
/// Gets the error that reports that the media contributor role is not a defined value.
/// </summary>
public static Error UnknownMediaContributorRole => Error.Validation(description: nameof(UnknownMediaContributorRole));
}
}