예제 #1
0
        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);
 }