using System.Collections.Generic; using NzbDrone.Core.Datastore; namespace NzbDrone.Core.Profiles.Releases { public class ReleaseProfile : ModelBase { public string Name { get; set; } public bool Enabled { get; set; } public List Required { get; set; } public List Ignored { get; set; } public int IndexerId { get; set; } public HashSet Tags { get; set; } public ReleaseProfile() { Enabled = true; Required = new List(); Ignored = new List(); Tags = new HashSet(); IndexerId = 0; } } public class ReleaseProfilePreferredComparer : IComparer> { public int Compare(KeyValuePair x, KeyValuePair y) { return y.Value.CompareTo(x.Value); } } }