Exemplo n.º 1
0
 public AttachmentsController(IAttachmentsRepository attachmentsRepository,
                              IArtifactPermissionsRepository artifactPermissionsRepository,
                              IArtifactVersionsRepository artifactVersionsRepository) : base()
 {
     AttachmentsRepository         = attachmentsRepository;
     ArtifactPermissionsRepository = artifactPermissionsRepository;
     ArtifactVersionsRepository    = artifactVersionsRepository;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttachmentsService" /> class.
 /// </summary>
 public AttachmentsService(IAttachmentsRepository attachmentRepository, IDownloadRepository downloadRepository,
                           IAttachmentSecuritySettingsService AttachmentSecuritySettingService, IAccountService accountService, ILogService LogService)
 {
     m_AttachmentRepository             = attachmentRepository;
     m_DownloadRepository               = downloadRepository;
     m_AttachmentSecuritySettingService = AttachmentSecuritySettingService;
     m_AccountService  = accountService;
     this.m_LogService = LogService;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of
 /// type AttachmentsService.
 /// </summary>
 /// <param name="AttachmentsRepository"></param>
 /// <param name="unitOfWork"></param>
 public AttachmentsService(
     IAttachmentsRepository AttachmentsRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._AttachmentsRepository = AttachmentsRepository;
     this._languageService       = languageService;
     this._unitOfWork            = unitOfWork;
 }
Exemplo n.º 4
0
 public MessagesService(IConversationRepository conversationRepository,
                        IMessagesRepository messagesRepository,
                        IUsersConversationsRepository usersConversationsRepository,
                        ILastMessagesRepository lastMessagesRepository,
                        UnitOfWork unitOfWork,
                        IUsersRepository usersRepository,
                        IAttachmentKindsRepository attachmentKindsRepository,
                        IAttachmentsRepository attachmentRepository,
                        IChatEventsRepository chatEventsRepository,
                        IDeletedMessagesRepository deletedMessages
                        )
 {
     this.conversationRepository       = conversationRepository;
     this.messagesRepository           = messagesRepository;
     this.usersConversationsRepository = usersConversationsRepository;
     this.lastMessagesRepository       = lastMessagesRepository;
     this.unitOfWork                = unitOfWork;
     this.usersRepository           = usersRepository;
     this.attachmentKindsRepository = attachmentKindsRepository;
     this.attachmentRepository      = attachmentRepository;
     this.chatEventsRepository      = chatEventsRepository;
     this.deletedMessages           = deletedMessages;
 }
 public AttachmentsService(IAttachmentsRepository repository)
 {
     _repository     = repository;
     _xxHashInstance = xxHashFactory.Instance.Create();
 }
 public AttachmentsController(IAttachmentsRepository attachmentsRepository)
 {
     _attachmentsRepository = attachmentsRepository;
 }
Exemplo n.º 7
0
 public AttachmentsService(IUnitOfWork unitOfWork, IAttachmentsRepository attachmentsRepository)
 {
     _unitOfWork            = unitOfWork;
     _attachmentsRepository = attachmentsRepository;
 }