Exemple #1
0
        public Service(
            IDbConnectionFactory connectionFactory,
            ICandidatesWorkflowCommand candidatesWorkflowCommand,
            ICandidatesCommand candidatesCommand,
            IMembersQuery membersQuery,
            IEmailsCommand emailsCommand)
            : base(connectionFactory)
        {
            for (int i = 0; i < _locks.Length; i++)
            {
                _locks[i] = new object();
            }

            _membersQuery              = membersQuery;
            _emailsCommand             = emailsCommand;
            _candidatesWorkflowCommand = candidatesWorkflowCommand;
            _candidatesCommand         = candidatesCommand;

            ActivelyLookingConfirmationTimeout   = TimeSpan.FromDays(30);
            ActivelyLookingResponseTimeout       = TimeSpan.FromDays(7);
            AvailableNowConfirmationLongTimeout  = TimeSpan.FromDays(30);
            AvailableNowConfirmationShortTimeout = TimeSpan.FromDays(7);
            AvailableNowResponseLongTimeout      = TimeSpan.FromDays(7);
            AvailableNowResponseShortTimeout     = TimeSpan.FromDays(7);
        }
Exemple #2
0
 public JoinController(IPageflowEngine pageflowEngine, IAccountsManager accountsManager, IMemberAccountsCommand memberAccountsCommand, IAccountVerificationsCommand accountVerificationsCommand, IMembersQuery membersQuery, ICandidatesCommand candidatesCommand, ICandidatesQuery candidatesQuery, ICandidateResumesCommand candidateResumesCommand, IResumesQuery resumesQuery, IAffiliationItemsFactory affiliationItemsFactory, IMemberAffiliationsCommand memberAffiliationsCommand, IMemberAffiliationsQuery memberAffiliationsQuery, IMemberStatusQuery memberStatusQuery, IFilesQuery filesQuery, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IReferralsCommand referralsCommand, IReferralsQuery referralsQuery, IMemberFriendsCommand memberFriendsCommand, IMemberFriendsQuery memberFriendsQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand)
     : base(Routes, pageflowEngine)
 {
     _membersQuery                = membersQuery;
     _memberAccountsCommand       = memberAccountsCommand;
     _accountVerificationsCommand = accountVerificationsCommand;
     _accountsManager             = accountsManager;
     _candidatesQuery             = candidatesQuery;
     _candidatesCommand           = candidatesCommand;
     _candidateResumesCommand     = candidateResumesCommand;
     _resumesQuery                = resumesQuery;
     _filesQuery = filesQuery;
     _affiliationItemsFactory   = affiliationItemsFactory;
     _memberAffiliationsCommand = memberAffiliationsCommand;
     _memberAffiliationsQuery   = memberAffiliationsQuery;
     _memberStatusQuery         = memberStatusQuery;
     _locationQuery             = locationQuery;
     _industriesQuery           = industriesQuery;
     _referralsCommand          = referralsCommand;
     _referralsQuery            = referralsQuery;
     _memberFriendsCommand      = memberFriendsCommand;
     _memberFriendsQuery        = memberFriendsQuery;
     _settingsQuery             = settingsQuery;
     _settingsCommand           = settingsCommand;
 }
Exemple #3
0
 public MemberAccountsCommand(IMembersCommand membersCommand, IMembersQuery membersQuery, ILoginCredentialsCommand loginCredentialsCommand, ILoginCredentialsQuery loginCredentialsQuery, IExternalCredentialsCommand externalCredentialsCommand, ICandidatesCommand candidatesCommand, IMemberAffiliationsCommand memberAffiliationsCommand)
 {
     _membersCommand             = membersCommand;
     _membersQuery               = membersQuery;
     _loginCredentialsCommand    = loginCredentialsCommand;
     _loginCredentialsQuery      = loginCredentialsQuery;
     _externalCredentialsCommand = externalCredentialsCommand;
     _candidatesCommand          = candidatesCommand;
     _memberAffiliationsCommand  = memberAffiliationsCommand;
 }
Exemple #4
0
 public ProfilesApiController(ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IResumesQuery resumesQuery, ICandidatesQuery candidatesQuery, IResumeFilesQuery resumeFilesQuery, IMemberStatusQuery memberStatusQuery, IEmailsCommand emailsCommand, IMemberAccountsCommand memberAccountsCommand, IAccountVerificationsCommand accountVerificationsCommand, ICandidatesCommand candidatesCommand, ICandidateResumesCommand candidateResumesCommand, ICandidateResumeFilesCommand candidateResumeFilesCommand, IParseResumesCommand parseResumesCommand, IMemberPhotosCommand memberPhotosCommand, IFilesCommand filesCommand, IFilesQuery filesQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand)
 {
     _locationQuery               = locationQuery;
     _industriesQuery             = industriesQuery;
     _resumesQuery                = resumesQuery;
     _candidatesQuery             = candidatesQuery;
     _resumeFilesQuery            = resumeFilesQuery;
     _memberStatusQuery           = memberStatusQuery;
     _emailsCommand               = emailsCommand;
     _memberAccountsCommand       = memberAccountsCommand;
     _accountVerificationsCommand = accountVerificationsCommand;
     _candidatesCommand           = candidatesCommand;
     _candidateResumesCommand     = candidateResumesCommand;
     _candidateResumeFilesCommand = candidateResumeFilesCommand;
     _parseResumesCommand         = parseResumesCommand;
     _memberPhotosCommand         = memberPhotosCommand;
     _filesCommand                = filesCommand;
     _filesQuery      = filesQuery;
     _settingsQuery   = settingsQuery;
     _settingsCommand = settingsCommand;
 }
Exemple #5
0
        public DataExchange(
            ICandidatesWorkflowCommand candidatesWorkflowCommand,
            ICandidatesCommand candidatesCommand,
            IMembersQuery membersQuery,
            IEmailsCommand emailsCommand,
            TimeSpan activelyLookingConfirmationTimeout,
            TimeSpan activelyLookingResponseTimeout,
            TimeSpan availableNowConfirmationLongTimeout,
            TimeSpan availableNowConfirmationShortTimeout,
            TimeSpan availableNowResponseLongTimeout,
            TimeSpan availableNowResponseShortTimeout)
        {
            _candidatesWorkflowCommand = candidatesWorkflowCommand;
            _candidatesCommand         = candidatesCommand;
            _membersQuery  = membersQuery;
            _emailsCommand = emailsCommand;

            _activelyLookingConfirmationTimeout   = activelyLookingConfirmationTimeout;
            _activelyLookingResponseTimeout       = activelyLookingResponseTimeout;
            _availableNowConfirmationLongTimeout  = availableNowConfirmationLongTimeout;
            _availableNowConfirmationShortTimeout = availableNowConfirmationShortTimeout;
            _availableNowResponseLongTimeout      = availableNowResponseLongTimeout;
            _availableNowResponseShortTimeout     = availableNowResponseShortTimeout;
        }
Exemple #6
0
 public StatusController(ICandidatesCommand candidatesCommand, ICandidatesQuery candidatesQuery, ICandidateStatusCommand candidateStatusCommand)
 {
     _candidatesCommand = candidatesCommand;
     _candidatesQuery = candidatesQuery;
     _candidateStatusCommand = candidateStatusCommand;
 }