Exemple #1
0
 private void InitialiseContext(ILocationQuery locationQuery, IChannelsQuery channelsQuery)
 {
     _eventSource.Raise(Event.Information, "InitialiseContext", "Initializing context...");
     ActivityContext.Current.Register(new SessionVerticalContext());
     ActivityContext.Current.Register(new SessionCommunityContext());
     ActivityContext.Current.Register(new HttpContextLocationContext(locationQuery.GetCountry("Australia")));
     ActivityContext.Current.Register(new ChannelContext(channelsQuery.GetChannelApp(channelsQuery.GetChannel("Web").Id, "Web")));
 }
Exemple #2
0
 public DailyReportsQuery(IResumeReportsQuery resumeReportsQuery, IJobAdSearchReportsQuery jobAdSearchReportsQuery, IMemberSearchReportsQuery memberSearchReportsQuery, IJobAdReportsQuery jobAdReportsQuery, IEmployerMemberAccessReportsQuery employerMemberAccessReportsQuery, INetworkingReportsQuery networkingReportsQuery, IOrderReportsQuery orderReportsQuery, ICommunicationReportsQuery communicationReportsQuery, IRegistrationReportsQuery registrationReportsQuery, IAccountReportsQuery accountReportsQuery, IChannelsQuery channelsQuery, IIntegrationQuery integrationQuery, IJobAdIntegrationReportsQuery jobAdIntegrationReportsQuery)
 {
     _resumeReportsQuery               = resumeReportsQuery;
     _jobAdSearchReportsQuery          = jobAdSearchReportsQuery;
     _memberSearchReportsQuery         = memberSearchReportsQuery;
     _jobAdReportsQuery                = jobAdReportsQuery;
     _employerMemberAccessReportsQuery = employerMemberAccessReportsQuery;
     _networkingReportsQuery           = networkingReportsQuery;
     _orderReportsQuery                = orderReportsQuery;
     _communicationReportsQuery        = communicationReportsQuery;
     _registrationReportsQuery         = registrationReportsQuery;
     _accountReportsQuery              = accountReportsQuery;
     _channelsQuery                = channelsQuery;
     _integrationQuery             = integrationQuery;
     _jobAdIntegrationReportsQuery = jobAdIntegrationReportsQuery;
 }
Exemple #3
0
 private static void InitialiseContext(IChannelsQuery channelsQuery)
 {
     ActivityContext.Current.Register(new ChannelContext(channelsQuery.GetChannelApp(channelsQuery.GetChannel("API").Id, "iOS")));
 }