mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 02:49:05 -07:00
20 lines
540 B
C#
20 lines
540 B
C#
#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;
|
|
}
|
|
}
|
|
}
|