2019-07-10 17:59:54 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services
|
|
|
|
|
{
|
|
|
|
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
2020-09-22 06:50:40 +02:00
|
|
|
|
class ServiceAttribute : Attribute
|
2019-07-10 17:59:54 +02:00
|
|
|
|
{
|
|
|
|
|
public readonly string Name;
|
|
|
|
|
public readonly object Parameter;
|
|
|
|
|
|
|
|
|
|
public ServiceAttribute(string name, object parameter = null)
|
|
|
|
|
{
|
|
|
|
|
Name = name;
|
|
|
|
|
Parameter = parameter;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|