DialogMemoryScope Class
- java.
lang. Object - com.
microsoft. bot. dialogs. memory. scopes. MemoryScope - com.
microsoft. bot. dialogs. memory. scopes. DialogMemoryScope
- com.
- com.
public class DialogMemoryScope
extends MemoryScope
DialogMemoryScope maps "dialog" to dc.Parent?.ActiveDialog.State ?? ActiveDialog.State.
Constructor Summary
| Constructor | Description |
|---|---|
| DialogMemoryScope() |
Initializes a new instance of the Turn |
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
DialogMemoryScope
public DialogMemoryScope()
Initializes a new instance of the TurnMemoryScope class.
Method Details
getMemory
public final Object getMemory(DialogContext dialogContext)
Get the backing memory for this scope.
Overrides:
DialogMemoryScope.getMemory(DialogContext dialogContext)Parameters:
setMemory
public final void setMemory(DialogContext dialogContext, Object memory)
Changes the backing object for the memory scope.
Overrides:
DialogMemoryScope.setMemory(DialogContext dialogContext, Object memory)Parameters: