aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/ServiceAttributes.cs
blob: c625af487da90437c3f65f04d2d0b49bc4738094 (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;
        }
    }
}