Skip to content

Instantly share code, notes, and snippets.

@dbarkol
Created March 14, 2018 07:10
Show Gist options
  • Save dbarkol/1d9dfae3728aecf64ae65fd61f91ebf2 to your computer and use it in GitHub Desktop.
Save dbarkol/1d9dfae3728aecf64ae65fd61f91ebf2 to your computer and use it in GitHub Desktop.
var details = JsonConvert.DeserializeObject<GridEvent<dynamic>>(e.ToString());
await this.HubContext.Clients.All.SendAsync(
"gridupdate",
details.Id,
details.EventType,
details.Subject,
details.EventTime.ToLongTimeString(),
e.ToString());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment