diff options
| author | Artiume <siderite@gmail.com> | 2020-01-05 11:49:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-05 11:49:45 -0500 |
| commit | 5b559979845a1c050176e3083e6307e56b43182c (patch) | |
| tree | 8debfeef3ff9b15f23088fbf3f7d76925d107bf6 /Emby.Naming/Video/FileStack.cs | |
| parent | c2db45bad9bb315c39e371f132456c006aad5971 (diff) | |
| parent | 0b592376d59d10d14dbdd248c24f7ec6397c3508 (diff) | |
Merge pull request #6 from jellyfin/master
nightly
Diffstat (limited to 'Emby.Naming/Video/FileStack.cs')
| -rw-r--r-- | Emby.Naming/Video/FileStack.cs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Emby.Naming/Video/FileStack.cs b/Emby.Naming/Video/FileStack.cs index 584bdf2d2..56adf6add 100644 --- a/Emby.Naming/Video/FileStack.cs +++ b/Emby.Naming/Video/FileStack.cs @@ -1,3 +1,6 @@ +#pragma warning disable CS1591 +#pragma warning disable SA1600 + using System; using System.Collections.Generic; using System.Linq; @@ -6,15 +9,17 @@ namespace Emby.Naming.Video { public class FileStack { - public string Name { get; set; } - public List<string> Files { get; set; } - public bool IsDirectoryStack { get; set; } - public FileStack() { Files = new List<string>(); } + public string Name { get; set; } + + public List<string> Files { get; set; } + + public bool IsDirectoryStack { get; set; } + public bool ContainsFile(string file, bool isDirectory) { if (IsDirectoryStack == isDirectory) |
