<PackageReference Include="Refit" Version="15.0.0" />

Refit.RestMethodInfo

public sealed class RestMethodInfo : IEquatable<RestMethodInfo>
Describes a single Refit REST method and the metadata used to build its request.
namespace Refit { public sealed class RestMethodInfo : IEquatable<RestMethodInfo> { public string Name { get; set; } public Type HostingType { get; set; } public MethodInfo MethodInfo { get; set; } public string RelativePath { get; set; } public Type ReturnType { get; set; } public RestMethodInfo(string Name, Type HostingType, MethodInfo MethodInfo, string RelativePath, Type ReturnType); public static bool operator !=(RestMethodInfo left, RestMethodInfo right); public static bool operator ==(RestMethodInfo left, RestMethodInfo right); public bool Equals(RestMethodInfo other); public void Deconstruct(out string Name, out Type HostingType, out MethodInfo MethodInfo, out string RelativePath, out Type ReturnType); } }