Class BotEventArgs
The event arguments for bot events.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Abstractions.dll
Syntax
public class BotEventArgs : LogEventArgs
Constructors
View SourceBotEventArgs()
Initializes a new instance of the BotEventArgs class.
Declaration
public BotEventArgs()
BotEventArgs(string?, string?, string?)
Initializes a new instance of the BotEventArgs class.
Declaration
public BotEventArgs(string? botName, string? messageType = null, string? message = null)
Parameters
Type | Name | Description |
---|---|---|
string | botName | The bot name. |
string | messageType | The message type. |
string | message | The message. |
Properties
View SourceAction
Gets or sets the action for the event.
Declaration
public object? Action { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
View SourceShouldSerializeAction()
Returns whether or not the action should be serialized.
Declaration
public bool ShouldSerializeAction()
Returns
Type | Description |
---|---|
bool | Whether or not the action should be serialized. |