public abstract class ClientBaseBase class for client-side stubs.
Derived Types
Namespace
Grpc.CoreAssembly
Grpc.Core.Api.dll
Constructors
ClientBase()
protected ClientBase()Initializes a new instance of ClientBase class that
throws NotImplementedException upon invocation of any RPC.
This constructor is only provided to allow creation of test doubles
for client classes (e.g. mocking requires a parameterless constructor).
ClientBase(CallInvoker)
public ClientBase(CallInvoker callInvoker)Initializes a new instance of ClientBase class.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe |
ClientBase(ChannelBase)
public ClientBase(ChannelBase channel)Initializes a new instance of ClientBase class.
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use for remote call invocation. |
ClientBase(ClientBaseConfiguration)
protected ClientBase(ClientBase.ClientBaseConfiguration configuration)Initializes a new instance of ClientBase class.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe configuration. |
Properties
CallInvoker
protected CallInvoker CallInvoker { get; }Gets the call invoker.
| Property Value | |
|---|---|
| Type | Description |
CallInvoker |
|