コード例 #1
0
 public ProcessManager(IProcessRepository repo,
                       IBinaryObjectManager binaryObjectManager,
                       IBinaryObjectRepository binaryObjectRepository,
                       IBlobStorageAdapter blobStorageAdapter)
 {
     this.repo = repo;
     this.binaryObjectManager    = binaryObjectManager;
     this.binaryObjectRepository = binaryObjectRepository;
     this.blobStorageAdapter     = blobStorageAdapter;
 }
コード例 #2
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;
 }
コード例 #3
0
 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());
 }