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