Пример #1
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;
 }
Пример #2
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;
 }
Пример #3
0
        protected override void OnInit()
        {
            base.OnInit();

            _verticalsCommand              = Container.Current.Resolve <IVerticalsCommand>();
            _authenticationManager         = Container.Current.Resolve <IAuthenticationManager>();
            _cookieManager                 = Container.Current.Resolve <ICookieManager>();
            _externalAuthenticationCommand = Container.Current.Resolve <IExternalAuthenticationCommand>();
            _userAccountsCommand           = Container.Current.Resolve <IUserAccountsCommand>();
            _memberAccountsCommand         = Container.Current.Resolve <IMemberAccountsCommand>();
            _memberAffiliationsCommand     = Container.Current.Resolve <IMemberAffiliationsCommand>();
            _locationQuery                 = Container.Current.Resolve <ILocationQuery>();

            _nonVerticalHost = ApplicationContext.Instance.GetProperty("website.linkme.host");
        }