using System; using System.Collections.Generic; using System.Linq; namespace BizHawk.Client.EmuHawk { [AttributeUsage(AttributeTargets.Class)] public class ToolAttribute : Attribute { public ToolAttribute(bool released, string[] supportedSystems, string[] unsupportedCores = null) { Released = released; SupportedSystems = supportedSystems ?? Enumerable.Empty(); UnsupportedCores = unsupportedCores ?? Enumerable.Empty(); } public bool Released { get; } public IEnumerable SupportedSystems { get; } public IEnumerable UnsupportedCores { get; } } }