Quellcode durchsuchen

Merge pull request #8409 from Bond-009/warn61

Use record for AudioBookFilePathParserResult
Claus Vium vor 2 Jahren
Ursprung
Commit
e54f6b0660
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs

+ 1 - 1
Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs

@@ -3,7 +3,7 @@ namespace Emby.Naming.AudioBook
     /// <summary>
     /// <summary>
     /// Data object for passing result of audiobook part/chapter extraction.
     /// Data object for passing result of audiobook part/chapter extraction.
     /// </summary>
     /// </summary>
-    public struct AudioBookFilePathParserResult
+    public record struct AudioBookFilePathParserResult
     {
     {
         /// <summary>
         /// <summary>
         /// Gets or sets optional number of path extracted from audiobook filename.
         /// Gets or sets optional number of path extracted from audiobook filename.