public FileUploadService(IFileUploadRepository fileUpload) { if (fileUpload == null) { throw new ArgumentNullException("fileUpload"); } uploadRepository = fileUpload; }
public FileUploadService(IAmazonS3 s3Client, IFileUploadSettings fileUploadSettings, IFileUploadRepository fileUploadRepository, IS3CsvRepository s3Repository, IFileUploadScenarioRepository fileUploadScenarioRepository) { _s3Client = s3Client; _fileUploadSettings = fileUploadSettings; _fileUploadRepository = fileUploadRepository; _s3Repository = s3Repository; _fileUploadScenarioRepository = fileUploadScenarioRepository; }
public AdmController() { server = MongoServer.Create(MongoConnStr); database = server.GetDatabase(MongoDBName, SafeMode.True); _userinfo = new UserInfoService(); _dictionary = new DictionaryService(); _file = new EFFileUploadRepository(); }
public FileUploadService(IFileSystem selfFileSystem, IFileUploadRepository fileUploadRepository, IUserRepository userRepository) { _selfFileSystem = selfFileSystem; _selfFileUploadRepository = fileUploadRepository; _selfUserRepository = userRepository; }
public SelfEvaluationService(ISelfEvaluationRepository selfEvaluationRepository, IFileUploadRepository selfFileUploadRepository, IEmployeeRepository selfEmployeeRepository) : base(selfEvaluationRepository) { _selfEvaluationRepository = selfEvaluationRepository; _selfFileUploadRepository = selfFileUploadRepository; _selfEmployeeRepository = selfEmployeeRepository; }
public FileUploadAppService(IFileUploadRepository repository, UserManager userManager) : base(repository) { _fileUploadrepository = repository; _userManager = userManager; }
public FileUploadBusiness(IFileUploadRepository fileRepository) { _fileRepository = fileRepository; }
public UploadController(UserManager <ApplicationUser> userManager, IFileUploadRepository fileRepo) { this.userManager = userManager; this.fileRepo = fileRepo; }
public FileUploadEngine(IFileUploadRepository fileImportRepo) { _fileImportRepo = fileImportRepo; }
public FileUploadController(ILogger <FileUploadController> logger, IFileUploadRepository imageUploadRepository, AppConfiguration appConfiguration) { _logger = logger; _imageUploadRepository = imageUploadRepository; _imageRelativeUrl = appConfiguration.UserFileRelativeUrl; }
public FileUploadService(IFileUploadRepository fileUploadRepository, IUtils utils) { _fileUploadRepository = fileUploadRepository; _utils = utils; }
public FileUploadUnitOfWork(string connectionString, string migrationAssemblyName) : base(connectionString, migrationAssemblyName) { FileUploadRepository = new FileUploadRepository(_dbContext); }
/// <summary> /// This is to demonstrate the use of Inversion of Control by using Ninject to inject the classes that will be used upon /// the controller's Construction. By specifying the Interface, the developer can code against this interface, knowing that whatever will be passed in here, /// must implement the specific Interface. /// </summary> /// <param name="fileUpload"></param> public FileUploadController(IFileUploadRepository fileUpload) { m_FileUploadRepository = fileUpload; }