Ejemplo n.º 1
0
 /// <summary>
 /// QueueItemsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="manager"></param>
 /// <param name="membershipManager"></param>
 /// <param name="userManager"></param>
 /// <param name="hub"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="binaryObjectRepository"></param>
 /// <param name="configuration"></param>
 /// <param name="hubManager"></param>
 /// <param name="queueItemAttachmentRepository"></param>
 /// <param name="queueRepository"></param>
 /// <param name="scheduleRepository"></param>
 /// <param name="webhookPublisher"></param>
 public QueueItemsController(
     IQueueItemRepository repository,
     IQueueRepository queueRepository,
     IQueueItemManager manager,
     IMembershipManager membershipManager,
     ApplicationIdentityUserManager userManager,
     IHubContext <NotificationHub> hub,
     IHttpContextAccessor httpContextAccessor,
     IHubManager hubManager,
     IScheduleRepository scheduleRepository,
     IConfiguration configuration,
     IBinaryObjectRepository binaryObjectRepository,
     IQueueItemAttachmentRepository queueItemAttachmentRepository,
     IWebhookPublisher webhookPublisher,
     IOrganizationSettingManager organizationSettingManager) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     this.manager                       = manager;
     _hub                               = hub;
     this.queueRepository               = queueRepository;
     this.hubManager                    = hubManager;
     scheduleRepo                       = scheduleRepository;
     Configuration                      = configuration;
     this.binaryObjectRepository        = binaryObjectRepository;
     this.queueItemAttachmentRepository = queueItemAttachmentRepository;
     this.webhookPublisher              = webhookPublisher;
     this.organizationSettingManager    = organizationSettingManager;
 }
Ejemplo n.º 2
0
 public ProcessManager(IProcessRepository repo,
                       IBinaryObjectManager binaryObjectManager,
                       IBinaryObjectRepository binaryObjectRepository,
                       IBlobStorageAdapter blobStorageAdapter)
 {
     this.repo = repo;
     this.binaryObjectManager    = binaryObjectManager;
     this.binaryObjectRepository = binaryObjectRepository;
     this.blobStorageAdapter     = blobStorageAdapter;
 }
 /// <summary>
 /// BinaryObjectsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="membershipManager"></param>
 /// <param name="userManager"></param>
 /// <param name="binaryObjectManager"></param>
 /// <param name="httpContextAccessor"></param>
 public BinaryObjectsController(
     IBinaryObjectRepository repository,
     IMembershipManager membershipManager,
     ApplicationIdentityUserManager userManager,
     IBinaryObjectManager binaryObjectManager,
     IHttpContextAccessor httpContextAccessor,
     IConfiguration configuration,
     IOrganizationManager organizationManager) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     this.binaryObjectManager = binaryObjectManager;
     this.organizationManager = organizationManager;
     this.binaryObjectManager.SetContext(SecurityContext);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// EmailsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="membershipManager"></param>
 /// <param name="userManager"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="configuration"></param>
 /// <param name="binaryObjectRepository"></param>
 /// <param name="manager"></param>
 /// <param name="emailAttachmentRepository"></param>
 public EmailsController(
     IEmailRepository repository,
     IMembershipManager membershipManager,
     ApplicationIdentityUserManager userManager,
     IConfiguration configuration,
     IHttpContextAccessor httpContextAccessor,
     IBinaryObjectRepository binaryObjectRepository,
     IEmailManager manager,
     IEmailAttachmentRepository emailAttachmentRepository) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     this.binaryObjectRepository = binaryObjectRepository;
     this.manager = manager;
     this.emailAttachmentRepository = emailAttachmentRepository;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// AssetsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="membershipManager"></param>
 /// <param name="userManager"></param>
 /// <param name="processManager"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="binaryObjectManager"></param>
 /// <param name="configuration"></param>
 /// <param name="binaryObjectRepo"></param>
 public AssetsController(
     IAssetRepository repository,
     IMembershipManager membershipManager,
     ApplicationIdentityUserManager userManager,
     IProcessManager processManager,
     IHttpContextAccessor httpContextAccessor,
     IBinaryObjectManager binaryObjectManager,
     IConfiguration configuration,
     IBinaryObjectRepository binaryObjectRepo) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     this.processManager      = processManager;
     this.binaryObjectRepo    = binaryObjectRepo;
     this.binaryObjectManager = binaryObjectManager;
 }
Ejemplo n.º 6
0
 public AutomationManager(
     IAutomationRepository repo,
     IBinaryObjectManager binaryObjectManager,
     IBinaryObjectRepository binaryObjectRepository,
     IBlobStorageAdapter blobStorageAdapter,
     IAutomationVersionRepository automationVersionRepository,
     IHttpContextAccessor httpContextAccessor)
 {
     this.repo = repo;
     this.binaryObjectManager         = binaryObjectManager;
     this.binaryObjectRepository      = binaryObjectRepository;
     this.blobStorageAdapter          = blobStorageAdapter;
     this.automationVersionRepository = automationVersionRepository;
     this.httpContextAccessor         = httpContextAccessor;
 }
Ejemplo n.º 7
0
 public QueueItemManager(
     IQueueItemRepository repo,
     IQueueRepository queueRepository,
     IQueueItemAttachmentRepository queueItemAttachmentRepository,
     IBinaryObjectManager binaryObjectManager,
     IHttpContextAccessor httpContextAccessor,
     IBinaryObjectRepository binaryObjectRepository)
 {
     this.repo            = repo;
     this.queueRepository = queueRepository;
     this.queueItemAttachmentRepository = queueItemAttachmentRepository;
     this.binaryObjectManager           = binaryObjectManager;
     this.httpContextAccessor           = httpContextAccessor;
     this.binaryObjectRepository        = binaryObjectRepository;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// QueueItemAttachmentsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="userManager"></param>
 /// <param name="membershipManager"></param>
 /// <param name="configuration"></param>
 /// <param name="binaryObjectManager"></param>
 /// <param name="binaryObjectRepository"></param>
 /// <param name="queueItemRepository"></param>
 /// <param name="manager"></param>
 /// <param name="webhookPublisher"></param>
 public QueueItemAttachmentsController(
     IQueueItemAttachmentRepository repository,
     IHttpContextAccessor httpContextAccessor,
     ApplicationIdentityUserManager userManager,
     IMembershipManager membershipManager,
     IConfiguration configuration,
     IBinaryObjectManager binaryObjectManager,
     IBinaryObjectRepository binaryObjectRepository,
     IQueueItemRepository queueItemRepository,
     IQueueItemManager manager,
     IWebhookPublisher webhookPublisher) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     this.binaryObjectRepository = binaryObjectRepository;
     this.binaryObjectManager    = binaryObjectManager;
     this.queueItemRepository    = queueItemRepository;
     this.manager          = manager;
     this.webhookPublisher = webhookPublisher;
 }
Ejemplo n.º 9
0
 /// <summary>
 /// AssetsController constructor
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="membershipManager"></param>
 /// <param name="userManager"></param>
 /// <param name="automationManager"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="binaryObjectManager"></param>
 /// <param name="configuration"></param>
 /// <param name="binaryObjectRepo"></param>
 /// <param name="webhookPublisher"></param>
 /// <param name="manager"></param>
 public AssetsController(
     IAssetRepository repository,
     IMembershipManager membershipManager,
     ApplicationIdentityUserManager userManager,
     IAutomationManager automationManager,
     IHttpContextAccessor httpContextAccessor,
     IBinaryObjectManager binaryObjectManager,
     IConfiguration configuration,
     IBinaryObjectRepository binaryObjectRepo,
     IWebhookPublisher webhookPublisher,
     IAssetManager manager) : base(repository, userManager, httpContextAccessor, membershipManager, configuration)
 {
     this.automationManager   = automationManager;
     this.binaryObjectRepo    = binaryObjectRepo;
     this.binaryObjectManager = binaryObjectManager;
     this.webhookPublisher    = webhookPublisher;
     this.manager             = manager;
 }
Ejemplo n.º 10
0
 public EmailManager(
     IPersonRepository personRepo,
     IPersonEmailRepository personEmailRepository,
     IEmailAccountRepository emailAccountRepository,
     IEmailRepository emailRepository,
     IEmailSettingsRepository emailSettingsRepository,
     IOrganizationManager organizationManager,
     IHttpContextAccessor httpContextAccessor,
     IBinaryObjectManager binaryObjectManager,
     IBinaryObjectRepository binaryObjectRepository,
     IEmailAttachmentRepository emailAttachmentRepository)
 {
     this.personRepo                = personRepo;
     this.personEmailRepository     = personEmailRepository;
     this.emailAccountRepository    = emailAccountRepository;
     this.emailRepository           = emailRepository;
     this.emailSettingsRepository   = emailSettingsRepository;
     this.organizationManager       = organizationManager;
     this.httpContextAccessor       = httpContextAccessor;
     this.binaryObjectManager       = binaryObjectManager;
     this.binaryObjectRepository    = binaryObjectRepository;
     this.emailAttachmentRepository = emailAttachmentRepository;
 }
Ejemplo n.º 11
0
 public BlobStorageAdapter(IBinaryObjectRepository repo)
 {
     this.repo = repo;
 }