public ProcessManager(IProcessRepository repo, IBinaryObjectManager binaryObjectManager, IBinaryObjectRepository binaryObjectRepository, IBlobStorageAdapter blobStorageAdapter) { this.repo = repo; this.binaryObjectManager = binaryObjectManager; this.binaryObjectRepository = binaryObjectRepository; this.blobStorageAdapter = blobStorageAdapter; }
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; }
public BinaryObjectManager( IBlobStorageAdapter blobStorageAdapter, IFileSystemAdapter fileSystemAdapter, IHttpContextAccessor httpContextAccessor, IOrganizationMemberRepository organizationMemberRepository, IOrganizationManager organizationManager, IConfiguration configuration, IAspNetUsersRepository usersRepository) { this.blobStorageAdapter = blobStorageAdapter; this.fileSystemAdapter = fileSystemAdapter; this.organizationMemberRepository = organizationMemberRepository; this.organizationManager = organizationManager; this.usersRepository = usersRepository; Configuration = configuration; _caller = ((httpContextAccessor.HttpContext != null) ? httpContextAccessor.HttpContext.User : new ClaimsPrincipal()); }