Class Method<TRequest, TResponse>
Inheritance
Method<TRequest, TResponse>
Assembly: Grpc.Core.Api.dll
Syntax
public class Method<TRequest, TResponse> : IMethod
Type Parameters
Name |
Description |
TRequest |
|
TResponse |
|
Constructors
Method(MethodType, string, string, Marshaller<TRequest>, Marshaller<TResponse>)
Declaration
public Method(MethodType type, string serviceName, string name, Marshaller<TRequest> requestMarshaller, Marshaller<TResponse> responseMarshaller)
Parameters
Properties
FullName
Declaration
public string FullName { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
RequestMarshaller
Declaration
public Marshaller<TRequest> RequestMarshaller { get; }
Property Value
ResponseMarshaller
Declaration
public Marshaller<TResponse> ResponseMarshaller { get; }
Property Value
ServiceName
Declaration
public string ServiceName { get; }
Property Value
Type
Declaration
public MethodType Type { get; }
Property Value
Implements