Replaces inheritdoc with explicit documentation

This commit is contained in:
BinaryAlley committed 2026-08-14 10:05:16 -07:00
1 parent 8f3304d231
commit 0e0e67ca73
40 files changed
+243 -61

No files matched your search

@@ -89,7 +89,10 @@ public abstract class BaseMetadata : ValueObject
OriginalLanguage = originalLanguage;
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Title;
@@ -41,7 +41,10 @@ public class Genre : ValueObject
return new Genre(name);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Name;
@@ -63,7 +63,10 @@ public class LanguageInfo : ValueObject
return new LanguageInfo(languageCode, languageName, nativeName);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return LanguageCode;
@@ -101,7 +101,10 @@ public class ReleaseInfo : ValueObject
return new ReleaseInfo(originalReleaseDate, originalReleaseYear, reReleaseDate, reReleaseYear, releaseCountry, releaseVersion);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return OriginalReleaseDate;
@@ -42,7 +42,10 @@ public class Tag : ValueObject
return new Tag(name);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Name;
@@ -138,7 +138,10 @@ public class AudioMetadata : BaseMetadata
bitrate);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
foreach (object component in base.GetEqualityComponents())
@@ -28,7 +28,10 @@ public sealed class FileSystemPathId : ValueObject
Path = path;
}
/// <inheritdoc />
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Path;
@@ -58,7 +58,10 @@ public class PathSegment : ValueObject
return new PathSegment(name, isDirectory, isDrive);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Name;
@@ -119,7 +119,10 @@ public class StreamInfo : ValueObject
return new StreamInfo(streamId, mimeType, bitrate, codec, resolution, frameRate, sampleRate, channels);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return StreamId;
@@ -34,7 +34,10 @@ public class Thumbnail : ValueObject
Bytes = bytes;
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Type;
@@ -40,7 +40,10 @@ public sealed class LibraryId : EntityId<Guid>
return new LibraryId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
@@ -45,7 +45,10 @@ public sealed class MediaLibraryScanCompositeId : ValueObject
return new MediaLibraryScanCompositeId(scanId, userId);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return ScanId;
@@ -69,7 +69,10 @@ public sealed class MediaLibraryScanJobProgress : ValueObject
return new MediaLibraryScanJobProgress(completedItems, totalItems, currentOperation);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return CompletedItems;
@@ -117,7 +117,10 @@ public sealed class MediaLibraryScanProgress : ValueObject
return new MediaLibraryScanProgress(scanId, userId, libraryId, completedJobs, totalJobs, status, currentJobProgress);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return CompletedJobs;
@@ -40,7 +40,10 @@ public sealed class ScanId : EntityId<Guid>
return new ScanId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
@@ -46,7 +46,10 @@ public sealed class MediaContributorName : ValueObject
return new MediaContributorName(displayName, legalName);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return DisplayName;
@@ -40,9 +40,12 @@ public sealed class MediaContributorId : EntityId<Guid>
return new MediaContributorId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
}
}
}
@@ -45,10 +45,13 @@ public sealed class MediaContributorRole : ValueObject
return new MediaContributorRole(name, category);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Name;
yield return Category;
}
}
}
@@ -40,7 +40,10 @@ public sealed class UserId : EntityId<Guid>
return new UserId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
@@ -42,7 +42,10 @@ public sealed class MovieId : EntityId<Guid>
return new MovieId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
@@ -116,7 +116,10 @@ public class VideoMetadata : BaseMetadata
language, originalLanguage, frameRate, videoCodec, audioCodec, genres, tags);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
foreach (object component in base.GetEqualityComponents())
@@ -40,7 +40,10 @@ public sealed class EpisodeId : EntityId<Guid>
return new EpisodeId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
@@ -40,9 +40,12 @@ public sealed class SeasonId : EntityId<Guid>
return new SeasonId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
}
}
}
@@ -40,9 +40,12 @@ public sealed class TvShowId : EntityId<Guid>
return new TvShowId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
}
}
}
@@ -40,7 +40,10 @@ public sealed class BookId : EntityId<Guid>
return new BookId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
@@ -43,7 +43,10 @@ public sealed class BookLibraryId : EntityId<Guid> // TODO: to be removed
return new BookLibraryId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
@@ -52,7 +52,10 @@ public class BookRating : Rating
return new BookRating(value, maxValue, source, voteCount);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
@@ -43,9 +43,12 @@ public sealed class BookSeriesId : ValueObject
return new BookSeriesId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
}
}
}
@@ -109,7 +109,10 @@ public sealed class Isbn : ValueObject
return checkDigit == (isbn[12] - '0');
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;
@@ -94,7 +94,10 @@ public class WrittenContentMetadata : BaseMetadata
);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
foreach (object component in base.GetEqualityComponents())
@@ -40,7 +40,10 @@ public sealed class LibraryId : EntityId<Guid>
return new LibraryId(value);
}
/// <inheritdoc/>
/// <summary>
/// Gets the list of items that define equality of the object.
/// </summary>
/// <returns>A list of items defining the equality.</returns>
public override IEnumerable<object> GetEqualityComponents()
{
yield return Value;