diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-01-02 10:13:57 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-02 10:13:57 +0900 |
| commit | fb61a1f882a30e604793cc125fc5f3da5276547d (patch) | |
| tree | 01be2fe9b9bba2be167ea5678b1cdd9df6b00b82 /Emby.Naming/Video/FileStack.cs | |
| parent | d3bce6e3805c34e5a1ca301ab234459a02cc6445 (diff) | |
| parent | 5c9e849b85f92f542cd23022b9bbcda209111d09 (diff) | |
Merge pull request #2150 from Bond-009/releaseerror
Enable TreatWarningsAsErrors for some projects
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) |
