Exemple #1
0
 public RetrieveGuildListEventListener(IGuildStatusChangedEventSubscribable subscriptionService, IReadonlyLocalPlayerDetails localPlayerDetails,
                                       [NotNull] ISocialService socialService,
                                       [NotNull] ILog logger,
                                       [NotNull] ICharacterJoinedGuildEventPublisher guildJoinEventPublisher)
     : base(subscriptionService, localPlayerDetails)
 {
     SocialService           = socialService ?? throw new ArgumentNullException(nameof(socialService));
     Logger                  = logger ?? throw new ArgumentNullException(nameof(logger));
     GuildJoinEventPublisher = guildJoinEventPublisher ?? throw new ArgumentNullException(nameof(guildJoinEventPublisher));
 }
Exemple #2
0
 public DefaultRemoteSocialHubClient([NotNull] ILog logger,
                                     [NotNull] ICharacterJoinedGuildEventPublisher joinedGuildEventPublisher)
 {
     Logger = logger ?? throw new ArgumentNullException(nameof(logger));
     JoinedGuildEventPublisher = joinedGuildEventPublisher ?? throw new ArgumentNullException(nameof(joinedGuildEventPublisher));
 }