예제 #1
0
 /// <summary>
 /// Fires the Raised event asynchronously. Please note that this request may never return
 /// if the InteractionRequest is unhandled.
 /// </summary>
 /// <param name="context">The context for the interaction request.</param>
 /// <returns>The context after the request has been handled by the UI.</returns>
 public async Task <T> RaiseAsync(T context)
 {
     return(await CallbackHelper.AwaitCallbackResult <T>(callback => this.Raise(context, callback)));
 }