Click or drag to resize
MethodTRequest, TResponse Class
A description of a remote method.
Inheritance Hierarchy
SystemObject
  Grpc.CoreMethodTRequest, TResponse

Namespace: Grpc.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
Syntax
public class Method<TRequest, TResponse> : IMethod

Type Parameters

TRequest
Request message type for this method.
TResponse
Response message type for this method.

The MethodTRequest, TResponse type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyFullName
Gets the fully qualified name of the method. On the server side, methods are dispatched based on this name.
Public propertyName
Gets the unqualified name of the method.
Public propertyRequestMarshaller
Gets the marshaller used for request messages.
Public propertyResponseMarshaller
Gets the marshaller used for response messages.
Public propertyServiceName
Gets the name of the service to which this method belongs.
Public propertyType
Gets the type of the method.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also