Class DiscoveryService
Namespace: Cephalon.AspNetCore.Grpc.Contracts.Discovery
Assembly: Cephalon.AspNetCore.Grpc.dll
Demonstrates the baseline unary and streaming discovery endpoints exposed by the Cephalon ASP.NET Core gRPC adapter.
public static class DiscoveryServiceInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”Descriptor
Section titled “ Descriptor”Service descriptor
public static ServiceDescriptor Descriptor { get; }Property Value
Section titled “Property Value”ServiceDescriptor
Methods
Section titled “Methods”BindService(DiscoveryServiceBase)
Section titled “ BindService(DiscoveryServiceBase)”Creates service definition that can be registered with a server
public static ServerServiceDefinition BindService(DiscoveryService.DiscoveryServiceBase serviceImpl)Parameters
Section titled “Parameters”serviceImpl DiscoveryService.DiscoveryServiceBase
An object implementing the server-side handling logic.
Returns
Section titled “Returns”BindService(ServiceBinderBase, DiscoveryServiceBase)
Section titled “ BindService(ServiceBinderBase, DiscoveryServiceBase)”Register service method with a service binder with or without implementation. 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(ServiceBinderBase serviceBinder, DiscoveryService.DiscoveryServiceBase serviceImpl)Parameters
Section titled “Parameters”serviceBinder ServiceBinderBase
Service methods will be bound by calling AddMethod on this object.
serviceImpl DiscoveryService.DiscoveryServiceBase
An object implementing the server-side handling logic.