コード例 #1
0
 public ManualsController(IManualsService manualsService, IAttachmentsService attachmentsService,
                          IMapper mapper)
 {
     _manualsService     = manualsService;
     _attachmentsService = attachmentsService;
     _mapper             = mapper;
 }
コード例 #2
0
 internal Attachments(IListDataService listDataService, IListItemDataService listItemDataService, IAttachmentsService attachmentsService, ICacheService cacheService)
 {
     this.listDataService     = listDataService;
     this.listItemDataService = listItemDataService;
     this.attachmentsService  = attachmentsService;
     this.cacheService        = cacheService;
 }
コード例 #3
0
 public AttachmentController(IAttachmentsService AttachmentService, ILookupService LookupService, ISessionService sessionService, ICrimeCaseService CrimeCaseService)
 {
     this.AttachmentService = AttachmentService;
     this.LookupService     = LookupService;
     this.sessionService    = sessionService;
     this.CrimeCaseService  = CrimeCaseService;
 }
コード例 #4
0
 public AttachmentController(IAttachmentsService attachmentsService, ISessionService sessionService,
     FileUploadConfigModel fileUploadConfig)
 {
     _attachmentsService = attachmentsService;
     _sessionService = sessionService;
     _fileUploadConfig = fileUploadConfig;
 }
コード例 #5
0
 public UploadsController(IWebHostEnvironment environment, IOptions <AppSettings> appSettings,
                          IAttachmentsService attachmentsService, IMapper mapper)
 {
     _environment        = environment;
     _appSettings        = appSettings.Value;
     _attachmentsService = attachmentsService;
     _mapper             = mapper;
 }
コード例 #6
0
 public NotesController(INotesService notesService, ISubjectsService subjectsService, ITermsService termsService,
                        IAttachmentsService attachmentsService, IQuestionsService questionsService, IMapper mapper)
 {
     _notesService       = notesService;
     _subjectsService    = subjectsService;
     _termsService       = termsService;
     _attachmentsService = attachmentsService;
     _questionsService   = questionsService;
     _mapper             = mapper;
 }
コード例 #7
0
        public RecruitQuestionsController(IDataService dataService, IQuestionsService questionsService,
                                          IAttachmentsService attachmentsService, ISubjectsService subjectsService, IMapper mapper)
        {
            _dataService = dataService;

            _questionsService   = questionsService;
            _attachmentsService = attachmentsService;
            _subjectsService    = subjectsService;
            _mapper             = mapper;
        }
コード例 #8
0
        public QuestionsController(IQuestionsService questionsService, IRecruitsService recruitsService, IAttachmentsService attachmentsService,
                                   ISubjectsService subjectsService, ITermsService termsService, IMapper mapper)
        {
            _questionsService   = questionsService;
            _recruitsService    = recruitsService;
            _attachmentsService = attachmentsService;
            _subjectsService    = subjectsService;
            _termsService       = termsService;

            _mapper = mapper;
        }
コード例 #9
0
 public RequestsController(
     IWebHostEnvironment environment,
     IRequestsService requestsService,
     IAttachmentsService attService,
     ApplicationDbContext dbContext)
 {
     this.environment     = environment;
     this.requestsService = requestsService;
     this.attService      = attService;
     this.dbContext       = dbContext;
 }
コード例 #10
0
 public MessagesUpdatedNodeNoticeHandler(NodeNotice notice,
                                         NodeConnection nodeConnection,
                                         IConversationsNoticeService conversationsNoticeService,
                                         IUpdateMessagesService updateMessagesService,
                                         IAttachmentsService attachmentsService)
 {
     this.notice                     = (MessagesUpdatedNodeNotice)notice;
     this.nodeConnection             = nodeConnection;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateMessagesService      = updateMessagesService;
     this.attachmentsService         = attachmentsService;
 }
コード例 #11
0
 public ResolvesController(IResolvesService resolvesService, IReviewRecordsService reviewRecordsService,
                           INotesService notesService, ITermsService termsService,
                           IAttachmentsService attachmentsService, IOptions <AdminSettings> adminSettings, IMapper mapper)
 {
     _resolvesService      = resolvesService;
     _reviewRecordsService = reviewRecordsService;
     _notesService         = notesService;
     _termsService         = termsService;
     _attachmentsService   = attachmentsService;
     _adminSettings        = adminSettings.Value;
     _mapper = mapper;
 }
コード例 #12
0
ファイル: StaffController.cs プロジェクト: sksami3/CManager
 public StaffController(ICourseService courseService, IWebHostEnvironment env,
                        IAttachmentsService attachmentsService,
                        IHubContext <NotificationHub> notificationHubContext,
                        UserManager <User> userManager,
                        IConfiguration configuration)
 {
     _courseService      = courseService;
     _attachmentsService = attachmentsService;
     _env = env;
     _notificationHubContext = notificationHubContext;
     _userManager            = userManager;
     _util = new Utilities(configuration.GetConnectionString("DefaultConnection"));
 }
コード例 #13
0
 public StudentController(
     RoleManager <Role> roleManager,
     UserManager <User> userManager,
     ICourseService courseService,
     IAttachmentsService attachmentsService,
     IUserCourseService userCourseService)
 {
     _roleManager        = roleManager;
     _userManager        = userManager;
     _courseService      = courseService;
     _attachmentsService = attachmentsService;
     _userCourseService  = userCourseService;
 }
コード例 #14
0
        public EmailsService(IEmailsRepository repository, IAESCryptography aesCryptography,
                             IMailSenderService mailSender, ILogFactory logFactory, IAttachmentsService attachmentsService)
        {
            if (logFactory == null)
            {
                throw new ArgumentNullException(nameof(logFactory));
            }

            _repository         = repository;
            _aesCryptography    = aesCryptography;
            _mailSender         = mailSender;
            _log                = logFactory.CreateLog(this);
            _attachmentsService = attachmentsService;
        }
コード例 #15
0
 public EmailController(UserManager <User> userManager,
                        IEmailService emailService,
                        IEmailStatusService emailStatusService,
                        ILoanApplicationService applicationService,
                        IAttachmentsService attachmentsService,
                        IToastNotification toast)
 {
     this.userManager        = userManager;
     this.emailService       = emailService;
     this.emailStatusService = emailStatusService;
     this.applicationService = applicationService;
     this.attachmentsService = attachmentsService;
     this.toast = toast;
 }
コード例 #16
0
 public EditMessageRequestHandler(
     Request request,
     ClientConnection clientConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IUpdateMessagesService updateMessagesService,
     IAttachmentsService attachmentsService)
 {
     this.request                    = (EditMessageRequest)request;
     this.clientConnection           = clientConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateMessagesService      = updateMessagesService;
     this.attachmentsService         = attachmentsService;
 }
コード例 #17
0
 public IssuesController(
     IIssuesService issuesService,
     ICategoriesService categoriesService,
     IAttachmentsService attService,
     IWebHostEnvironment environment,
     ICommentsService commentsService,
     IInstitutionsService institutionsService)
 {
     this.issuesService       = issuesService;
     this.categoriesService   = categoriesService;
     this.attService          = attService;
     this.environment         = environment;
     this.commentsService     = commentsService;
     this.institutionsService = institutionsService;
 }
コード例 #18
0
 public ConvertToExcelController(
     IUserService userService,
     IUserTaskService taskService,
     INoteService noteService,
     IFileService fileService,
     ITasksContainerService tasksContainerService,
     IAttachmentsService attachmentsService
     )
 {
     _userService           = userService;
     _userTaskService       = taskService;
     _noteService           = noteService;
     _fileService           = fileService;
     _tasksContainerService = tasksContainerService;
     _attachmentsService    = attachmentsService;
 }
コード例 #19
0
        public DataController(IOptions <RootSubjectSettings> rootSubjectSettings, IOptions <AdminSettings> adminSettings,
                              IDataService dataService, ISubjectsService subjectsService, ITermsService termsService, INotesService notesService,
                              IRecruitsService recruitsService, IQuestionsService questionsService, IAttachmentsService attachmentsService, IMapper mapper)
        {
            _adminSettings       = adminSettings.Value;
            _rootSubjectSettings = rootSubjectSettings.Value;
            _subjectsService     = subjectsService;
            _termsService        = termsService;
            _notesService        = notesService;
            _recruitsService     = recruitsService;
            _questionsService    = questionsService;
            _attachmentsService  = attachmentsService;

            _dataService = dataService;

            _mapper = mapper;
        }
コード例 #20
0
 public SendMessagesRequestHandler(
     Request request,
     ClientConnection current,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IAttachmentsService attachmentsService,
     ICreateMessagesService createMessagesService,
     ILoadDialogsService loadDialogsService)
 {
     this.request                    = (SendMessagesRequest)request;
     userId                          = current.UserId ?? 0;
     this.current                    = current;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.attachmentsService         = attachmentsService;
     this.createMessagesService      = createMessagesService;
     this.loadDialogsService         = loadDialogsService;
 }
コード例 #21
0
        public ExamsController(UserManager <User> userManager, IDataService dataService,
                               IAttachmentsService attachmentsService, IQuestionsService questionsService, IResolvesService resolvesService,
                               IExamsService examsService, ISubjectsService subjectsService, IRecruitsService recruitsService,
                               IMapper mapper)
        {
            _userManager = userManager;

            _dataService = dataService;

            _questionsService   = questionsService;
            _resolvesService    = resolvesService;
            _attachmentsService = attachmentsService;
            _examsService       = examsService;
            _subjectsService    = subjectsService;
            _recruitsService    = recruitsService;

            _mapper = mapper;
        }
コード例 #22
0
ファイル: RequestsService.cs プロジェクト: troshanov/Mayor
 public RequestsService(
     IDeletableEntityRepository <IssueRequest> requestsRepo,
     IAttachmentsService attService,
     IInstitutionsService institutionsService,
     ICitizensService citizensService,
     IIssuesService issuesService,
     IDeletableEntityRepository <Issue> issuesRepo,
     IRepository <IssueRequestAttachment> issueRequestAttsService,
     IDeletableEntityRepository <Attachment> attRepo)
 {
     this.requestsRepo            = requestsRepo;
     this.attService              = attService;
     this.institutionsService     = institutionsService;
     this.citizensService         = citizensService;
     this.issuesService           = issuesService;
     this.issuesRepo              = issuesRepo;
     this.issueRequestAttsService = issueRequestAttsService;
     this.attRepo = attRepo;
 }
コード例 #23
0
 public NewMessagesNoticeHandler(CommunicationObject @object,
                                 NodeConnection current,
                                 IConversationsNoticeService conversationsNoticeService,
                                 IAttachmentsService attachmentsService,
                                 ICreateMessagesService createMessagesService,
                                 ICreateChannelsService createChannelsService,
                                 INodeRequestSender nodeRequestSender,
                                 ICrossNodeService crossNodeService,
                                 ILoadDialogsService loadDialogsService)
 {
     notice       = (NewMessagesNodeNotice)@object;
     this.current = current;
     this.conversationsNoticeService = conversationsNoticeService;
     this.attachmentsService         = attachmentsService;
     this.createMessagesService      = createMessagesService;
     this.createChannelsService      = createChannelsService;
     this.nodeRequestSender          = nodeRequestSender;
     this.crossNodeService           = crossNodeService;
     this.loadDialogsService         = loadDialogsService;
 }
コード例 #24
0
 public GetMessagesRequestHandler(Request request,
                                  ClientConnection clientConnection,
                                  IConnectionsService connectionsService,
                                  ILoadMessagesService loadMessagesService,
                                  ICreateMessagesService createMessagesService,
                                  IAttachmentsService attachmentsService,
                                  ILoadChatsService loadChatsService,
                                  IConversationsService conversationsService,
                                  INodeRequestSender nodeRequestSender)
 {
     this.request               = (GetMessagesRequest)request;
     this.clientConnection      = clientConnection;
     this.connectionsService    = connectionsService;
     this.loadMessagesService   = loadMessagesService;
     this.createMessagesService = createMessagesService;
     this.attachmentsService    = attachmentsService;
     this.loadChatsService      = loadChatsService;
     this.conversationsService  = conversationsService;
     this.nodeRequestSender     = nodeRequestSender;
 }
コード例 #25
0
 public AttachmentsController(AttachmentsService attachmentService, ApplicationUserManager userManager) : base(userManager)
 {
     _attachmentsService = attachmentService;
 }
コード例 #26
0
 public AttachmentsController(IAttachmentsService service)
 {
     _service = service;
 }
コード例 #27
0
 public FolderAttachmentController(IAttachmentsService AttachmentService, ISessionService sessionService, ICrimeCaseService CrimeCaseService)
 {
     this.AttachmentService = AttachmentService;
     this.sessionService    = sessionService;
     this.CrimeCaseService  = CrimeCaseService;
 }
コード例 #28
0
 public AttachmentsTests()
 {
     TestsData testsData = TestsData.Create(nameof(AttachmentsTests));
     attachmentsService = testsData.AppServiceProvider.AttachmentsService;
     fillTestDbHelper = testsData.FillTestDbHelper;
 }
コード例 #29
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttachmentsController"/> class.
 /// </summary>
 /// <param name="AttachmentService">The attachment service.</param>
 public AttachmentsController(IAttachmentsService AttachmentService)
 {
     this.m_AttachmentsService = AttachmentService;
 }
コード例 #30
0
 public AttachmentsController(IHostingEnvironment hostingEnvironment, IAttachmentsService AttachmentsService)
 {
     _hostingEnvironment = hostingEnvironment;
     _AttachmentsService = AttachmentsService;
 }