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

18 lines
508 B
C#
Raw Normal View History

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