DialogClassMemoryScope Class
- java.
lang. Object - com.
microsoft. bot. dialogs. memory. scopes. MemoryScope - com.
microsoft. bot. dialogs. memory. scopes. DialogClassMemoryScope
- com.
- com.
public class DialogClassMemoryScope
extends MemoryScope
Initializes a new instance of the DialogClassMemoryScope class.
Constructor Summary
| Constructor | Description |
|---|---|
| DialogClassMemoryScope() |
Initializes a new instance of the Dialog |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| final java.lang.Object |
getMemory(DialogContext dialogContext)
Get the backing memory for this scope. |
| final void |
setMemory(DialogContext dialogContext, Object memory)
Changes the backing Object for the memory scope. |
Methods inherited from MemoryScope
Methods inherited from java.lang.Object
Constructor Details
DialogClassMemoryScope
public DialogClassMemoryScope()
Initializes a new instance of the DialogClassMemoryScope class.
Method Details
getMemory
public final Object getMemory(DialogContext dialogContext)
Get the backing memory for this scope.
Overrides:
DialogClassMemoryScope.getMemory(DialogContext dialogContext)Parameters:
setMemory
public final void setMemory(DialogContext dialogContext, Object memory)
Changes the backing Object for the memory scope.
Overrides:
DialogClassMemoryScope.setMemory(DialogContext dialogContext, Object memory)Parameters: