aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-11-17 10:28:39 -0500
committerGitHub <noreply@github.com>2020-11-17 10:28:39 -0500
commitf6ebdbc45e6dc455b7535dfe341ccba94b2c2a90 (patch)
tree3b42753afda908633880519308fddc25bc249d71 /Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs
parentfc3d6278be89b695aa79dc61d7f1226d4d6e441b (diff)
parent04a712ab1d56a29a31e2c4991c16d338348762f4 (diff)
Merge pull request #4456 from martinek-stepan/emby-namig-nullable
Emby.Naming - nullable & code coverage
Diffstat (limited to 'Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs')
-rw-r--r--Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs b/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs
index 7bfc4479d..48ab8b57d 100644
--- a/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs
+++ b/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs
@@ -1,14 +1,18 @@
-#nullable enable
-#pragma warning disable CS1591
-
namespace Emby.Naming.AudioBook
{
+ /// <summary>
+ /// Data object for passing result of audiobook part/chapter extraction.
+ /// </summary>
public struct AudioBookFilePathParserResult
{
+ /// <summary>
+ /// Gets or sets optional number of path extracted from audiobook filename.
+ /// </summary>
public int? PartNumber { get; set; }
+ /// <summary>
+ /// Gets or sets optional number of chapter extracted from audiobook filename.
+ /// </summary>
public int? ChapterNumber { get; set; }
-
- public bool Success { get; set; }
}
}