コード例 #1
0
 public InviteToTeamCommand(IInvitationService invitationService, ITeamService teamService, IUserService userService, IUserTeamService userTeamService)
 {
     this.invitationService = invitationService;
     this.teamService       = teamService;
     this.userService       = userService;
     this.userTeamService   = userTeamService;
 }
コード例 #2
0
 public ClanDeletedDomainEventHandler(IClanService clanService, ICandidatureService candidatureService, IInvitationService invitationService, ILogger <ClanDeletedDomainEventHandler> logger)
 {
     _clanService        = clanService;
     _candidatureService = candidatureService;
     _invitationService  = invitationService;
     _logger             = logger;
 }
コード例 #3
0
 public LetterGeneratorController(
     ICsvReader csvReader,
     IInvitationService invitationService)
 {
     this.csvReader         = csvReader;
     this.invitationService = invitationService;
 }
コード例 #4
0
 public AcceptInviteCommand(IInvitationService invitationService, IEventService eventService,
                            ITeamService teamService)
 {
     this.invitationService = invitationService;
     this.eventService      = eventService;
     this.teamService       = teamService;
 }
コード例 #5
0
 public AdminController(
     IWebHostEnvironment environment,
     ILogger <AdminController> logger,
     SignInManager <UserProfileModel> signInManager,
     UserManager <UserProfileModel> userManager,
     IPostService posts,
     IUserProfileService localProfiles,
     IPublicProfileService publicProfiles,
     IDebugService debugService,
     RoleManager <UserGroupModel> roleManager,
     IReactionService reactions,
     ITagService tags,
     INotificationService notifications,
     IPeerService peers,
     IAuthService auth,
     ISettingsService settings,
     IInvitationService invitationService,
     IActivityStreamRepository activityStreams
     ) :
     base(environment, signInManager, userManager, posts, localProfiles, publicProfiles, reactions, tags, notifications, peers, auth, settings, activityStreams)
 {
     _logger            = logger;
     _debugService      = debugService;
     _roleManager       = roleManager;
     _invitationService = invitationService;
 }
 public InvitationController(
     IConfiguration configuration,
     IInvitationService invitationService
     )
 {
     _configuration     = configuration;
     _invitationService = invitationService;
 }
コード例 #7
0
 public BreezeController(ICommunitiesService communities, IProposalService proposals,
     IInvitationService invitations, ITaxesService taxes)
 {
     this.communities = communities;
     this.proposals = proposals;
     this.invitations = invitations;
     this.taxes = taxes;
 }
コード例 #8
0
 public InvitationController(IInvitationService invitationService,
                             UserManager <MISUser> userManager,
                             IUserService userService)
 {
     this.invitationService = invitationService;
     this.userManager       = userManager;
     this.userService       = userService;
 }
コード例 #9
0
 public BreezeController(ICommunitiesService communities, IProposalService proposals,
                         IInvitationService invitations, ITaxesService taxes)
 {
     this.communities = communities;
     this.proposals   = proposals;
     this.invitations = invitations;
     this.taxes       = taxes;
 }
コード例 #10
0
ファイル: InvitationController.cs プロジェクト: mishogv/Vanei
 public InvitationController(UserManager <MISUser> userManager,
                             IInvitationService invitationService,
                             SignInManager <MISUser> signInManager)
 {
     this.userManager       = userManager;
     this.invitationService = invitationService;
     this.signInManager     = signInManager;
 }
コード例 #11
0
 public BlogController(
     IRepository<Data.Blog> blogRepo, 
     IRepository<Data.Securable> securableRepo, 
     IInvitationService invitationService)
 {
     _blogRepo = blogRepo;
     _securableRepo = securableRepo;
     _invitationService = invitationService;
 }
コード例 #12
0
 public InvitationFacade(IPackageService packageService, IUserService userService, IInvitationService invitationService, IContactService contactService, IInviteeService inviteeService, IBr_GroupContactService brGroupContactService, IUnitOfWorkAsync unitOfWork) : base(unitOfWork)
 {
     _invitationService     = invitationService;
     _brGroupContactService = brGroupContactService;
     _inviteeService        = inviteeService;
     _contactService        = contactService;
     _packageService        = packageService;
     _userService           = userService;
 }
コード例 #13
0
 public BlogController(
     IRepository <Data.Blog> blogRepo,
     IRepository <Data.Securable> securableRepo,
     IInvitationService invitationService)
 {
     _blogRepo          = blogRepo;
     _securableRepo     = securableRepo;
     _invitationService = invitationService;
 }
コード例 #14
0
 public Handler(
     IInvitationRepository invitationRepository,
     IInvitationService invitationService,
     IUserService userServcie)
 {
     _invitationRepository = invitationRepository;
     _invitationService    = invitationService;
     _userServcie          = userServcie;
 }
コード例 #15
0
 public GroupController(IGroupService groupService,
                        IUserService userService,
                        IInvitationService invitationService,
                        IConnectionService connectionService)
 {
     this._groupService      = groupService;
     this._userService       = userService;
     this._invitationService = invitationService;
     this._connectionService = connectionService;
 }
コード例 #16
0
 public UsersController(IUserService userService, IGroupService groupService,
                        ISessionService sessionService, IInvitationService invitationService, ILinkService linkService,
                        IUserFactory userFactory)
 {
     this.userService       = userService;
     this.groupService      = groupService;
     this.sessionService    = sessionService;
     this.invitationService = invitationService;
     this.linkService       = linkService;
     this.userFactory       = userFactory;
 }
コード例 #17
0
 public ConsoleApplication
 (
     IDocumentService documentService,
     IInvitationService invitationService,
     IOrganizationService organizationService
 )
 {
     _documentService     = documentService;
     _invitationService   = invitationService;
     _organizationService = organizationService;
 }
コード例 #18
0
 public Handler(
     IUserService userServcie,
     IInvitationRepository invitationRepository,
     IInvitationService invitationService,
     IJwtService jwtService)
 {
     _userServcie          = userServcie;
     _invitationRepository = invitationRepository;
     _invitationService    = invitationService;
     _jwtService           = jwtService;
 }
コード例 #19
0
 public InviteController(IApplicationSetting applicationSetting,
                         IGetMeetingService getMeetingService,
                         IInvitationService invitationService,
                         INotificationService notificationService,
                         IMeetingAttendeeRepository attendeeRepository)
 {
     _applicationSetting  = applicationSetting;
     _getMeetingService   = getMeetingService;
     _invitationService   = invitationService;
     _notificationService = notificationService;
     _attendeeRepository  = attendeeRepository;
 }
コード例 #20
0
 public GroupsController(IGroupService groupService,
                         ISessionService sessionService,
                         IUserService userService,
                         IInvitationService invitationService,
                         ILinkService linkService)
 {
     this.groupService      = groupService;
     this.sessionService    = sessionService;
     this.userService       = userService;
     this.invitationService = invitationService;
     this.linkService       = linkService;
 }
コード例 #21
0
 public UserService(UserManager <ApplicationUser> userManager, IEmailService emailService, ITokenFactory tokenFactory,
                    IMemberService memberService, IInvitationService invitationService, ApplicationSettings applicationSettings,
                    ILogger <UserService> logger)
 {
     _logger              = logger ?? throw new ArgumentNullException(nameof(logger));
     _tokenFactory        = tokenFactory ?? throw new ArgumentNullException(nameof(tokenFactory));
     _userManager         = userManager ?? throw new ArgumentNullException(nameof(userManager));
     _emailService        = emailService ?? throw new ArgumentNullException(nameof(emailService));
     _invitationService   = invitationService ?? throw new ArgumentNullException(nameof(invitationService));
     _applicationSettings = applicationSettings ?? throw new ArgumentNullException(nameof(applicationSettings));
     _memberService       = memberService ?? throw new ArgumentNullException(nameof(memberService));
 }
コード例 #22
0
 public AbstractInvitationController(
     ApiSettings settings,
     ILogger <AbstractInvitationController> logger,
     ITransactionCoordinator transactionCoordinator,
     IInvitationService invitationService,
     IApiInvitationModelMapper invitationModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.InvitationService     = invitationService;
     this.InvitationModelMapper = invitationModelMapper;
 }
コード例 #23
0
        public void Init()
        {
            var options = new DbContextOptionsBuilder <MISDbContext>()
                          .UseInMemoryDatabase(Guid.NewGuid().ToString())
                          .Options;

            this.dbContext = new MISDbContext(options);

            var userService    = new UserService(this.dbContext);
            var companyService = new CompanyService(this.dbContext, userService);

            this.invitationService = new InvitationService(this.dbContext, companyService, userService);
        }
コード例 #24
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     IInvitationService invitationService,
     ILogger <AccountController> logger)
 {
     _userManager       = userManager;
     _signInManager     = signInManager;
     _emailSender       = emailSender;
     _invitationService = invitationService;
     _logger            = logger;
 }
コード例 #25
0
 public ClanMemberAddedDomainEventHandler(
     IClanService clanService,
     IInvitationService invitationService,
     ICandidatureService candidatureService,
     IServiceBusPublisher serviceBusPublisher,
     ILogger <ClanMemberAddedDomainEventHandler> logger
     )
 {
     _clanService         = clanService;
     _invitationService   = invitationService;
     _candidatureService  = candidatureService;
     _serviceBusPublisher = serviceBusPublisher;
     _logger = logger;
 }
コード例 #26
0
        public Notification(IInvitationService invitationService, IWebHelper webHelper)
        {
            if (invitationService == null)
            {
                throw new ArgumentNullException(string.Format(ExceptionConstants.ArgumentCannotBeNull, "invitationService"));
            }

            if (webHelper == null)
            {
                throw new ArgumentNullException(string.Format(ExceptionConstants.ArgumentCannotBeNull, "webHelper"));
            }

            this.invitationService = invitationService;
            this.webHelper         = webHelper;
        }
コード例 #27
0
 public EventController(
     IEventService eventService,
     ICalendarService calendarService,
     IInvitationService invitationService,
     NotificationHubManager notificationHubManager,
     InvitationHubManager invitationHubManager,
     IMapper mapper)
 {
     _eventService        = eventService;
     _calendarService     = calendarService;
     _invitationService   = invitationService;
     _notificationManager = notificationHubManager;
     _invitationManager   = invitationHubManager;
     _mapper = mapper;
 }
コード例 #28
0
        public ProfileController(IUserService userService, IInvitationService invitationService, IMapingService mappingService, IWebHelper webHelper)
            : base(mappingService, webHelper)
        {
            if (userService == null)
            {
                throw new ArgumentNullException(string.Format(ExceptionConstants.ArgumentCannotBeNull, "userService"));
            }

            if (invitationService == null)
            {
                throw new ArgumentNullException(string.Format(ExceptionConstants.ArgumentCannotBeNull, "invitationService"));
            }

            this.userService       = userService;
            this.invitationService = invitationService;
        }
コード例 #29
0
 public InvitationController(
     ApiSettings settings,
     ILogger <InvitationController> logger,
     ITransactionCoordinator transactionCoordinator,
     IInvitationService invitationService,
     IApiInvitationModelMapper invitationModelMapper
     )
     : base(settings,
            logger,
            transactionCoordinator,
            invitationService,
            invitationModelMapper)
 {
     this.BulkInsertLimit = 250;
     this.MaxLimit        = 1000;
     this.DefaultLimit    = 250;
 }
コード例 #30
0
 public BenefactorService(IDatabaseConnectionFactory databaseConnectionFactory,
                          IGeneralSettingService setting, IInvitationService invitation, IReloadBalanceService reloadRequest,
                          IUsersProgram userprograms, IUserTransactionInfoes userTransactionInfo, IReloadRule reloadRule, IConfiguration configuration,
                          ILoggerManager logger, IPhotos photos, IPartnerNotificationsLogServicer partnerNotificationsLogRepository, IMapper mapper)
     : base(databaseConnectionFactory)
 {
     _setting = setting;
     _databaseConnectionFactory = databaseConnectionFactory ?? throw new ArgumentNullException(nameof(databaseConnectionFactory));
     _invitation          = invitation;
     _reloadRequest       = reloadRequest;
     _userprograms        = userprograms;
     _userTransactionInfo = userTransactionInfo;
     _reloadRule          = reloadRule;
     _configuration       = configuration;
     _logger = logger;
     _photos = photos;
     _partnerNotificationsLogRepository = partnerNotificationsLogRepository;
     _mapper = mapper;
 }
コード例 #31
0
 public PermissionsEditorController(
     IRepository<User> userRepo,
     IRepository<Data.Blog> blogRepo,
     IRepository<Securable> securableRepo,
     IRepository<Invitation> invitationRepo,
     ISecurityHelper securityHelper,
     IInvitationService invitationService,
     IAttacher<Securable> securableAttacher,
     IAttacher<Data.Blog> blogAttacher)
 {
     _userRepo = userRepo;
     _blogRepo = blogRepo;
     _securableRepo = securableRepo;
     _invitationRepo = invitationRepo;
     _securityHelper = securityHelper;
     _invitationService = invitationService;
     _blogAttacher = blogAttacher;
     _securableAttacher = securableAttacher;
 }
コード例 #32
0
 public PermissionsEditorController(
     IRepository <User> userRepo,
     IRepository <Data.Blog> blogRepo,
     IRepository <Securable> securableRepo,
     IRepository <Invitation> invitationRepo,
     ISecurityHelper securityHelper,
     IInvitationService invitationService,
     IAttacher <Securable> securableAttacher,
     IAttacher <Data.Blog> blogAttacher)
 {
     _userRepo          = userRepo;
     _blogRepo          = blogRepo;
     _securableRepo     = securableRepo;
     _invitationRepo    = invitationRepo;
     _securityHelper    = securityHelper;
     _invitationService = invitationService;
     _blogAttacher      = blogAttacher;
     _securableAttacher = securableAttacher;
 }
コード例 #33
0
 public AccountController(
     ILogger <AccountController> logger,
     IWebHostEnvironment environment,
     UserManager <UserProfileModel> userManager,
     SignInManager <UserProfileModel> signInManager,
     IPostService posts, IUserProfileService localProfiles, IPublicProfileService publicProfiles,
     IReactionService reactions, ITagService tags,
     INotificationService notifications,
     IPeerService peers,
     IAuthService auth,
     ISettingsService settings,
     IFido2 fido2,
     IInvitationService invitationService,
     IActivityStreamRepository activityStreams,
     IRateLimitService rateLimitService
     ) :
     base(environment, signInManager, userManager, posts, localProfiles, publicProfiles, reactions, tags, notifications, peers, auth, settings, activityStreams)
 {
     _logger            = logger;
     _fido2             = fido2;
     _invitationService = invitationService;
     _rateLimitService  = rateLimitService;
 }
コード例 #34
0
 public ManagementController(IBlobService blobService, IBlobSetService blobSetService, IInvitationService invitationService)
 {
     this.blobService = blobService;
     this.blobSetService = blobSetService;
     this.invitationService = invitationService;
 }
コード例 #35
0
 public ManagementController()
 {
     this.blobService = new BlobService(this.Context, CloudStorageAccount.Parse(ConfigReader.GetConfigValue("DataConnectionString")), ConfigReader.GetConfigValue("MainBlobContanier"));
     this.blobSetService = new BlobSetService(this.Context);
     this.invitationService = new InvitationService(this.Context);
 }
コード例 #36
0
ファイル: UserController.cs プロジェクト: ShuHuiC/BlobShare
 public UserController(IUserService userService, IRoleService roleService, IInvitationService invitationService)
 {
     this.userService = userService;
     this.roleService = roleService;
     this.invitationService = invitationService;
 }
コード例 #37
0
 public InvitationController()
 {
     this.invitationService = new InvitationService(this.Context);
 }
コード例 #38
0
 public InvitationsController(IInvitationService invitationService)
 {
     this.invitationService = invitationService;
 }
コード例 #39
0
ファイル: UserController.cs プロジェクト: ShuHuiC/BlobShare
 public UserController()
 {
     this.userService = new UserService(this.Context);
     this.roleService = new RoleService(this.Context);
     this.invitationService = new InvitationService(this.Context);
 }