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