BizHawk/BizHawk.Emulation.Common/CoreAttribute.cs

35 lines
903 B
C#
Raw Normal View History

using System;
namespace BizHawk.Emulation.Common
{
[AttributeUsage(AttributeTargets.Class)]
public class CoreAttribute : Attribute
{
public CoreAttribute(
2014-06-01 01:57:22 +00:00
string name,
string author,
bool isPorted = false,
bool isReleased = false,
string portedVersion = "",
string portedUrl = "",
bool singleInstance = false)
{
CoreName = name;
Author = author;
Ported = isPorted;
Released = isReleased;
2014-06-01 01:57:22 +00:00
PortedVersion = portedVersion;
PortedUrl = portedUrl;
SingleInstance = singleInstance;
}
public string CoreName { get; private set; }
public string Author { get; private set; }
public bool Ported { get; private set; }
public bool Released { get; private set; }
2014-06-01 01:57:22 +00:00
public string PortedVersion { get; private set; }
public string PortedUrl { get; private set; }
public bool SingleInstance { get; private set; }
}
}