Exemplo n.º 1
0
        public MatchCreatedEvent(Match match)
        {
            Code       = EventType.Created;
            NewMatch   = match;
            PartionKey = match.Id;

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