LyricFile.cs 775 B

12345678910111213141516171819202122232425262728
  1. namespace MediaBrowser.Model.Lyrics;
  2. /// <summary>
  3. /// The information for a raw lyrics file before parsing.
  4. /// </summary>
  5. public class LyricFile
  6. {
  7. /// <summary>
  8. /// Initializes a new instance of the <see cref="LyricFile"/> class.
  9. /// </summary>
  10. /// <param name="name">The name.</param>
  11. /// <param name="content">The content, must not be empty.</param>
  12. public LyricFile(string name, string content)
  13. {
  14. Name = name;
  15. Content = content;
  16. }
  17. /// <summary>
  18. /// Gets or sets the name of the lyrics file. This must include the file extension.
  19. /// </summary>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// Gets or sets the contents of the file.
  23. /// </summary>
  24. public string Content { get; set; }
  25. }