Example #1
0
 public virtual void OnUserJoined(object sender, UserJoinedEventArgs e)
 {
 }
Example #2
0
 private async void OnUserJoined(object sender, UserJoinedEventArgs e)
 {
     await Task.Run(() =>
         {
             foreach (var module in this.Modules)
             {
                 module.OnUserJoined(this, e);
             }
         });
 }
Example #3
0
 /// <summary>
 /// The on user joined.
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The e.
 /// </param>
 public override async void OnUserJoined(object sender, UserJoinedEventArgs e)
 {
     var request = sender as IRequest;
     IResponse response = request.CreateResponse();
     await request.SendResponseAsync(response);
 }
Example #4
0
        protected virtual void OnUserJoined(UserJoinedEventArgs e)
        {
            var handler = this.UserJoined;

            if (handler != null)
            {
                handler(this, e);
            }
        }