public MatchCreatedEvent(Match match)
        {
            Code       = EventType.Created;
            NewMatch   = match;
            PartionKey = match.Id;

            EventArgs = new MatchCreatedEventArgs
            {
                Team1 = match.Team1,
                Team2 = match.Team2
            };
        }
示例#2
0
 private void EventSink_MatchCreatedEvent(MatchCreatedEventArgs args)
 {
     ClientManager.Post(() => HandleMatchCreatedEvent(args.Match));
 }
示例#3
0
 public static void InvokeMatchCreatedEvent(MatchCreatedEventArgs args)
 {
     MatchCreatedEvent?.Invoke(args);
 }