aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServiceMethod.cs
blob: 5116cc04fe826139fbee1d48f2752f173d6239ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma warning disable CS1591

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.ToUpperInvariant() + " " + requestDtoName;
        }
    }
}