Class Contexts
Service for managing [Contexts][google.cloud.dialogflow.v2.Context].
Namespace: Google.Cloud.Dialogflow.V2
Assembly: Google.Cloud.Dialogflow.V2.dll
Syntax
public static class Contexts
Methods
BindService(ContextsBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(Contexts.ContextsBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
Contexts.ContextsBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
Type | Description |
---|---|
ServerServiceDefinition |
BindService(ServiceBinderBase, ContextsBase)
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.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, Contexts.ContextsBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
Contexts.ContextsBase | serviceImpl | An object implementing the server-side handling logic. |