RandomSelector Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Select a random true triggerHandler implementation of IRuleSelector.
public class RandomSelector : Microsoft.Bot.Builder.Dialogs.Adaptive.TriggerSelector
type RandomSelector = class
inherit TriggerSelector
Public Class RandomSelector
Inherits TriggerSelector
- Inheritance
Constructors
| RandomSelector() |
Fields
| Kind |
Class identifier. |
Properties
| Seed |
Gets or sets optional seed for random number generator. |
Methods
| Initialize(IEnumerable<OnCondition>, Boolean) |
Initializes the selector with the set of rules. |
| SelectAsync(ActionContext, CancellationToken) |
Selects the best rule to execute. |