jellyfin/Emby.Server.Implementations/Services/ServiceMethod.cs

17 lines
501 B
C#
Raw Normal View History

2016-11-11 12:55:12 -07:00
using System;
2017-02-12 18:07:48 -07:00
namespace Emby.Server.Implementations.Services
2016-11-11 12:55:12 -07:00
{
2017-02-12 18:07:48 -07:00
public class ServiceMethod
2016-11-11 12:55:12 -07: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)
{
return serviceType.FullName + " " + method.ToUpper() + " " + requestDtoName;
}
}
}