ServiceMethod.cs 541 B

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