Esempio n. 1
0
 public static VerifiedOrganisation CreateTestVerifiedOrganisation(this IOrganisationsCommand organisationsCommand, string name)
 {
     return(organisationsCommand.CreateTestVerifiedOrganisation(name, null, Guid.NewGuid()));
 }
Esempio n. 2
0
 public static VerifiedOrganisation CreateTestVerifiedOrganisation(this IOrganisationsCommand organisationsCommand, int index, Organisation parentOrganisation, Guid administratorId)
 {
     return(organisationsCommand.CreateTestVerifiedOrganisation(index, parentOrganisation, administratorId, administratorId));
 }
Esempio n. 3
0
 public static VerifiedOrganisation CreateTestVerifiedOrganisation(this IOrganisationsCommand organisationsCommand, int index, Organisation parentOrganisation, Guid administratorId, Guid verifiedById)
 {
     return(organisationsCommand.CreateTestVerifiedOrganisation(string.Format(NameFormat, index), parentOrganisation, administratorId, verifiedById));
 }
Esempio n. 4
0
 public static Organisation CreateTestOrganisation(this IOrganisationsCommand organisationsCommand, string name)
 {
     return(organisationsCommand.CreateTestOrganisation(name, null));
 }
Esempio n. 5
0
 public static VerifiedOrganisation CreateTestVerifiedOrganisation(this IOrganisationsCommand organisationsCommand, int index)
 {
     return(organisationsCommand.CreateTestVerifiedOrganisation(index, null, Guid.NewGuid()));
 }
Esempio n. 6
0
 public AccountsManager(ILoginAuthenticationCommand loginAuthenticationCommand, IAuthenticationManager authenticationManager, IDevAuthenticationManager devAuthenticationManager, IMemberAccountsCommand memberAccountsCommand, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ILoginCredentialsQuery loginCredentialsQuery, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IPhoneNumbersQuery phoneNumbersQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IPartnersQuery partnersQuery, ICookieManager cookieManager, IReferralsManager referralsManager, IProfilesCommand profilesCommand, IProfilesQuery profilesQuery)
 {
     _loginAuthenticationCommand = loginAuthenticationCommand;
     _authenticationManager      = authenticationManager;
     _devAuthenticationManager   = devAuthenticationManager;
     _memberAccountsCommand      = memberAccountsCommand;
     _employerAccountsCommand    = employerAccountsCommand;
     _organisationsCommand       = organisationsCommand;
     _loginCredentialsQuery      = loginCredentialsQuery;
     _locationQuery     = locationQuery;
     _industriesQuery   = industriesQuery;
     _phoneNumbersQuery = phoneNumbersQuery;
     _communitiesQuery  = communitiesQuery;
     _verticalsQuery    = verticalsQuery;
     _partnersQuery     = partnersQuery;
     _cookieManager     = cookieManager;
     _referralsManager  = referralsManager;
     _profilesCommand   = profilesCommand;
     _profilesQuery     = profilesQuery;
 }
Esempio n. 7
0
 public static Organisation CreateTestOrganisation(this IOrganisationsCommand organisationsCommand, int index)
 {
     return(organisationsCommand.CreateTestOrganisation(string.Format(NameFormat, index)));
 }
Esempio n. 8
0
 public UnlimitedCreditsCreditInfo(bool verified, bool hasExpired, CreditAllocation creditAllocation, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ICreditsQuery creditsQuery, IAllocationsCommand allocationsCommand)
     : base(verified, hasExpired, creditAllocation, employerAccountsCommand, organisationsCommand, creditsQuery, allocationsCommand)
 {
 }
Esempio n. 9
0
 public AnonymousCreditInfo(IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand)
     : base(false, employerAccountsCommand, organisationsCommand)
 {
 }
Esempio n. 10
0
 public SomeCreditsUsedCreditCreditInfo(bool verified, bool hasExpired, CreditAllocation creditAllocation, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ICreditsQuery creditsQuery, IAllocationsCommand allocationsCommand, IEmployerCreditsCommand employerCreditsCommand, IEmployerMemberViewsQuery employerMemberViewsQuery)
     : base(verified, hasExpired, creditAllocation, employerAccountsCommand, organisationsCommand, creditsQuery, allocationsCommand)
 {
     _employerCreditsCommand   = employerCreditsCommand;
     _employerMemberViewsQuery = employerMemberViewsQuery;
 }
Esempio n. 11
0
 public SomeCreditsCreditInfo(int quantity, bool verified, bool hasExpired, CreditAllocation creditAllocation, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ICreditsQuery creditsQuery, IAllocationsCommand allocationsCommand)
     : base(verified, hasExpired, creditAllocation, employerAccountsCommand, organisationsCommand, creditsQuery, allocationsCommand)
 {
     _quantity = quantity;
 }
Esempio n. 12
0
 protected CreditInfo(bool verified, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand)
 {
     _verified = verified;
     _employerAccountsCommand = employerAccountsCommand;
     _organisationsCommand    = organisationsCommand;
 }
Esempio n. 13
0
 protected AllocationCreditInfo(bool verified, bool hasExpired, CreditAllocation creditAllocation, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ICreditsQuery creditsQuery, IAllocationsCommand allocationsCommand)
     : base(verified, employerAccountsCommand, organisationsCommand)
 {
     _hasExpired         = hasExpired;
     _creditAllocation   = creditAllocation;
     _creditsQuery       = creditsQuery;
     _allocationsCommand = allocationsCommand;
 }
Esempio n. 14
0
 public NoAllocationsCreditInfo(bool verified, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand)
     : base(verified, employerAccountsCommand, organisationsCommand)
 {
 }