Example #1
0
 /// <summary>
 /// Returns the group send info from a forwarded hub message of a multicast view model.
 /// </summary>
 /// <param name="callerContext">Hub caller context.</param>
 public static VMController.GroupSend GetGroupSend(this HubCallerContext callerContext)
 {
     return(DotNetifyHubForwarder.GetGroupSend(callerContext.Items));
 }
Example #2
0
 /// <summary>
 /// Returns the group name from a forwarded hub message of a multicast view model.
 /// </summary>
 /// <param name="callerContext">Hub caller context.</param>
 public static string GetGroupName(this HubCallerContext callerContext)
 {
     return(DotNetifyHubForwarder.GetGroupName(callerContext.Items));
 }
Example #3
0
 /// <summary>
 /// Returns the origin connection context from a forwarded hub message.
 /// </summary>
 /// <param name="callerContext">Hub caller context.</param>
 public static ConnectionContext GetOriginConnectionContext(this HubCallerContext callerContext)
 {
     return(DotNetifyHubForwarder.GetOriginConnectionContext(callerContext.Items));
 }