sample/Sample.Grpc/generated/Service2Grpc.cs
/// <summary>Register service method implementations with a service binder. Useful when customizing the service binding logic.
/// Note: this method is part of an experimental API that can change or be removed without any prior notice.</summary>
/// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
/// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
Register service method implementations with a service binder. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
Register service method implementations with a service binder . Useful when customizing the service binding logic . Note : this method is part of an experimental API that can change or be removed without any prior notice .
public static void BindService(grpc::ServiceBinderBase serviceBinder, Service2Base serviceImpl)
    {
      serviceBinder.AddMethod(__Method_API1, serviceImpl.API1);
      serviceBinder.AddMethod(__Method_API2, serviceImpl.API2);
    }
public static void BindService ( grpc :: ServiceBinderBase serviceBinder , Service2Base serviceImpl ) { serviceBinder . AddMethod ( __Method_API1 , serviceImpl . API1 ) ; serviceBinder . AddMethod ( __Method_API2 , serviceImpl . API2 ) ; }
Register service method implementations with a service binder.
Register service method implementations with a service binder .
serviceBinder
grpc::ServiceBinderBase
Service methods will be bound by calling AddMethod
Service methods will be bound by calling AddMethod
serviceImpl
Service2Base
An object implementing the server-side handling logic.
An object implementing the server - side handling logic .