aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServiceMethod.cs
blob: 7add7281519d8591ddbc1bcec109cd92943b70b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;

namespace Emby.Server.Implementations.Services
{
    public class ServiceMethod
    {
        public string Id { get; set; }

        public ActionInvokerFn ServiceAction { get; set; }
        public MediaBrowser.Model.Services.IHasRequestFilter[] RequestFilters { get; set; }

        public static string Key(Type serviceType, string method, string requestDtoName)
        {
            return serviceType.FullName + " " + method.ToUpper() + " " + requestDtoName;
        }
    }
}