mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14:11:10 +00:00
Replaces inheritdoc with explicit documentation
This commit is contained in:
1 parent
8f3304d231
commit
0e0e67ca73
40 files changed
+243
-61
No files matched your search
+4
-1
@@ -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())
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+5
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
+5
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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())
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+5
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
+5
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+5
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-1
@@ -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;
|
||||
|
||||
+4
-1
@@ -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())
|
||||
|
||||
+4
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user