예제 #1
0
 internal static Task Broadcast(Context.ContextBase context)
 {
     return(channelClient.DispatchAsync <Task>(ApiTopic.Broadcast, context));
 }
예제 #2
0
 /// <summary>
 /// Publishes context to other applications on the desktop
 /// </summary>
 /// <param name="context">The context to publish to other applications</param>
 /// <returns></returns>
 public Task BroadcastAsync(Context.ContextBase context)
 {
     return(channelClient.DispatchAsync <Task>(ApiFromClientTopic.Broadcast, new { context = context }));
 }