Beispiel #1
0
 public virtual Task MessageReceived(MessageReceivedContext context) => OnMessageReceived(context);
 public virtual Task MessageReceived(MessageReceivedContext context) => OnMessageReceived(context);
 internal static Task MessageReceived(MessageReceivedContext context)
 {
     Helpers.ThrowIfConditionFailed(() => context.ProtocolMessage != null, "ProtocolMessage is null.");
     eventsFired.Add(nameof(MessageReceived));
     return Task.FromResult(0);
 }
 public override Task MessageReceived(MessageReceivedContext context)
 {
     return base.MessageReceived(context);
 }