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

Refit.RestMethodInfo

public sealed class RestMethodInfo : IEquatable<RestMethodInfo>
Describes a single Refit REST method and the metadata used to build its request.
public Type HostingType { get; set; }

The interface type that declares the method.

public MethodInfo MethodInfo { get; set; }

The reflected method information.

public string Name { get; set; }

The name of the method.

public string RelativePath { get; set; }

The relative URL path template for the method.

public Type ReturnType { get; set; }

The declared return type of the method.

public RestMethodInfo(string Name, Type HostingType, MethodInfo MethodInfo, string RelativePath, Type ReturnType)

Describes a single Refit REST method and the metadata used to build its request.

public static bool op_Equality(RestMethodInfo left, RestMethodInfo right)

public static bool op_Inequality(RestMethodInfo left, RestMethodInfo right)

public void Deconstruct(out string Name, out Type HostingType, out MethodInfo MethodInfo, out string RelativePath, out Type ReturnType)

public bool Equals(RestMethodInfo other)