Hexarc.Pact.Protocol by Max Koverdyaev

<PackageReference Include="Hexarc.Pact.Protocol" Version="1.0.0" />

 Method

public sealed class Method
using Hexarc.Pact.Protocol.TypeReferences; using System.Runtime.CompilerServices; namespace Hexarc.Pact.Protocol.Api { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class Method { public string Name { get; } public string Path { get; } public HttpMethod HttpMethod { get; } public TaskTypeReference ReturnType { get; } public MethodParameter[] Parameters { get; } public Method(string name, string path, HttpMethod httpMethod, TaskTypeReference returnType, MethodParameter[] parameters) { Name = name; Path = path; HttpMethod = httpMethod; ReturnType = returnType; Parameters = parameters; } } }