public MatchCreatedEvent(Match match) { Code = EventType.Created; NewMatch = match; PartionKey = match.Id; EventArgs = new MatchCreatedEventArgs { Team1 = match.Team1, Team2 = match.Team2 }; }
private void EventSink_MatchCreatedEvent(MatchCreatedEventArgs args) { ClientManager.Post(() => HandleMatchCreatedEvent(args.Match)); }
public static void InvokeMatchCreatedEvent(MatchCreatedEventArgs args) { MatchCreatedEvent?.Invoke(args); }