Code Cleanup

This commit is contained in:
1hitsong
2022-09-18 21:17:53 -04:00
parent 552b6aceae
commit 28d017865b
4 changed files with 14 additions and 35 deletions

View File

@@ -8,8 +8,8 @@ public class LyricLine
/// <summary>
/// Initializes a new instance of the <see cref="LyricLine"/> class.
/// </summary>
/// <param name="start">The lyric start time in ticks.</param>
/// <param name="text">The lyric text.</param>
/// <param name="start">The lyric start time in ticks.</param>
public LyricLine(string text, long? start = null)
{
Start = start;

View File

@@ -10,10 +10,10 @@ public class LyricResponse
/// <summary>
/// Gets or sets Metadata.
/// </summary>
public LyricMetadata Metadata { get; set; } = new LyricMetadata();
public LyricMetadata Metadata { get; set; } = new();
/// <summary>
/// Gets or sets Lyrics.
/// </summary>
public IReadOnlyCollection<LyricLine> Lyrics { get; set; } = new List<LyricLine>();
public IReadOnlyList<LyricLine> Lyrics { get; set; } = new List<LyricLine>();
}