mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-09 09:18:43 +00:00
17 lines
416 B
C#
17 lines
416 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Ryujinx.HLE.HOS.Services
|
|||
|
{
|
|||
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
|||
|
public class ServiceAttribute : Attribute
|
|||
|
{
|
|||
|
public readonly string Name;
|
|||
|
public readonly object Parameter;
|
|||
|
|
|||
|
public ServiceAttribute(string name, object parameter = null)
|
|||
|
{
|
|||
|
Name = name;
|
|||
|
Parameter = parameter;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|