コード例 #1
0
 public AuthController(IAuthRepository repo, IConfiguration config,
                       IMapper mapper, IFileManagerRepository fmrepo)
 {
     _fmrepo = fmrepo;
     _mapper = mapper;
     _repo   = repo;
     _config = config;
 }
コード例 #2
0
        public FilesController(IFileManagerRepository repository, IMapper mapper,
                               IOptions <AzureSettings> azureConfig)
        {
            _mapper = mapper;
            _repo   = repository;

            CloudStorageAccount account = CloudStorageAccount.Parse(azureConfig.Value.ConnectionString);

            serviceClient = account.CreateCloudBlobClient();

            azureContainer = serviceClient.GetContainerReference(azureConfig.Value.Container);
        }
コード例 #3
0
 public FileManagerController(IFileManagerRepository repository)
 {
     this.repository = repository;
 }
コード例 #4
0
 public FMAdminsController(IFileManagerRepository repository, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repository;
 }
コード例 #5
0
 public UsersController(IFileManagerRepository repo, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repo;
 }
コード例 #6
0
 public FileManagerController(IFileManagerRepository repository)
 {
     this.repository = repository;
 }
コード例 #7
0
 public FileManagerService(IFileManagerRepository fileRepo)
 {
     _fileRepo = fileRepo;
 }