mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02: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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|