ServiceMethod.cs 508 B

1234567891011121314151617
  1. using System;
  2. namespace Emby.Server.Implementations.Services
  3. {
  4. public class ServiceMethod
  5. {
  6. public string Id { get; set; }
  7. public ActionInvokerFn ServiceAction { get; set; }
  8. public MediaBrowser.Model.Services.IHasRequestFilter[] RequestFilters { get; set; }
  9. public static string Key(Type serviceType, string method, string requestDtoName)
  10. {
  11. return serviceType.FullName + " " + method.ToUpperInvariant() + " " + requestDtoName;
  12. }
  13. }
  14. }