2020-05-29 09:28:19 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 19:54:44 +00:00
|
|
|
using System;
|
2016-11-11 19:55:12 +00:00
|
|
|
|
2017-02-13 01:07:48 +00:00
|
|
|
namespace Emby.Server.Implementations.Services
|
2016-11-11 19:55:12 +00:00
|
|
|
{
|
2017-02-13 01:07:48 +00:00
|
|
|
public class ServiceMethod
|
2016-11-11 19:55:12 +00:00
|
|
|
{
|
|
|
|
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)
|
|
|
|
{
|
2019-01-27 11:03:43 +00:00
|
|
|
return serviceType.FullName + " " + method.ToUpperInvariant() + " " + requestDtoName;
|
2016-11-11 19:55:12 +00:00
|
|
|
}
|
|
|
|
}
|
2019-01-13 19:30:03 +00:00
|
|
|
}
|