Class TestClient
Inheritance
System.Object
TestClient
Namespace: TestUtils
Assembly: cs.temp.dll.dll
Syntax
public class TestClient : grpc.ClientBase<TestClient>
Constructors
TestClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected TestClient()
TestClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected TestClient(ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBaseConfiguration | configuration | The client configuration. |
TestClient(grpc.CallInvoker)
Creates a new client for TestClient that uses a custom CallInvoker
.
Declaration
public TestClient(grpc.CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
grpc.CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
TestClient(grpc.ChannelBase)
Creates a new client for TestClient
Declaration
public TestClient(grpc.ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
grpc.ChannelBase | channel | The channel to use to make remote calls. |
Methods
NewInstance(ClientBaseConfiguration)
Declaration
protected override TestClient NewInstance(ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
TestClient |