aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/ServiceAttributes.cs
blob: 112563eb8808c7e20fd311a0130d1324833e49d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;

namespace Ryujinx.HLE.HOS.Services
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    class ServiceAttribute : Attribute
    {
        public readonly string Name;
        public readonly object Parameter;

        public ServiceAttribute(string name, object parameter = null)
        {
            Name = name;
            Parameter = parameter;
        }
    }
}