mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-24 22:36:19 -04:00
New: Added FileList.io indexer support
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace NzbDrone.Core.Annotations
|
||||
{
|
||||
@@ -23,6 +24,20 @@ namespace NzbDrone.Core.Annotations
|
||||
public PrivacyLevel Privacy { get; set; }
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
|
||||
public class FieldOptionAttribute : Attribute
|
||||
{
|
||||
public FieldOptionAttribute([CallerLineNumber] int order = 0, string label = null)
|
||||
{
|
||||
Order = order;
|
||||
Label = label;
|
||||
}
|
||||
|
||||
public int Order { get; private set; }
|
||||
public string Label { get; set; }
|
||||
public string Hint { get; set; }
|
||||
}
|
||||
|
||||
public enum FieldType
|
||||
{
|
||||
Textbox,
|
||||
|
||||
Reference in New Issue
Block a user