예제 #1
0
 /// <summary>
 /// Event that gets raised whenever a message is received from the Python client.
 /// </summary>
 protected virtual void OnBotReceived(string message)
 {
     if (!string.IsNullOrEmpty(message))
     {
         BotReceivedEvent?.Invoke(message);
     }
 }
예제 #2
0
 /// <summary>
 /// Event that gets raised whenever a message is received from the Python client.
 /// </summary>
 protected virtual void OnBotReceived(string message)
 {
     if (message != "" || message != null)
     {
         BotReceivedEvent?.Invoke(message);
     }
 }