mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
Enable StyleCop for MediaBrowser.Common
This commit is contained in:
11
MediaBrowser.Common/Net/CacheMode.cs
Normal file
11
MediaBrowser.Common/Net/CacheMode.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1602
|
||||
|
||||
namespace MediaBrowser.Common.Net
|
||||
{
|
||||
public enum CacheMode
|
||||
{
|
||||
None = 0,
|
||||
Unconditional = 1
|
||||
}
|
||||
}
|
||||
15
MediaBrowser.Common/Net/CompressionMethods.cs
Normal file
15
MediaBrowser.Common/Net/CompressionMethods.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1602
|
||||
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Common.Net
|
||||
{
|
||||
[Flags]
|
||||
public enum CompressionMethods
|
||||
{
|
||||
None = 0b00000001,
|
||||
Deflate = 0b00000010,
|
||||
Gzip = 0b00000100
|
||||
}
|
||||
}
|
||||
@@ -102,18 +102,4 @@ namespace MediaBrowser.Common.Net
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
public enum CacheMode
|
||||
{
|
||||
None = 0,
|
||||
Unconditional = 1
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum CompressionMethods
|
||||
{
|
||||
None = 0b00000001,
|
||||
Deflate = 0b00000010,
|
||||
Gzip = 0b00000100
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user