public FileController(IFileRepo repository, IMapper mapper, IAuthenticateRepo validate, IFileDataRepo data) { _repository = repository; _mapper = mapper; _validate = validate; _data = data; }
public Main(int userId) { InitializeComponent(); this.userId = userId; fileRepo = (IFileRepo)Program.ServiceProvider.GetService(typeof(IFileRepo)); accountRepository = (IAccountRepository)Program.ServiceProvider.GetService(typeof(IAccountRepository)); }
public ImportController(CadSysContext _context, IRepo _repo, IExcelConfigurationRepo _excelConfiguration, ServiceBuilder _serviceBuilder) { context = _context; repo = _repo; excelConfiguration = _excelConfiguration; serviceBuilder = _serviceBuilder; dXFRepo = (IFileRepo)serviceBuilder.GetService("DXFRepo"); }
public FileService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _fileRepo = new FileRepo(context); _crashLogRepo = new CrashLogRepo(context); _productPictureRepo = new ProductPictureRepo(context); }
public ExportController(CadSysContext _context, IExcelConfigurationRepo _excelConfiguration, ServiceBuilder _serviceBuilder, IExporter _cadGenExporter, IHubContext <MessagesHub> _hubContext, DropBoxBase _dropBoxBase) { context = _context; excelConfiguration = _excelConfiguration; dXFRepo = (IFileRepo)_serviceBuilder.GetService("DXFRepo"); cadGenExporter = _cadGenExporter; hubContext = _hubContext; dropBoxBase = _dropBoxBase; }
public ProcessController(DropBoxBase _dropBox, CadSysContext _context, IRepo _repo, IExcelConfigurationRepo _excelConfiguration, ServiceBuilder serviceBuilder) { dropBox = _dropBox; context = _context; repo = _repo; excelConfiguration = _excelConfiguration; dxfRepo = (IFileRepo)serviceBuilder.GetService("DXFRepo"); excelRepo = (IFileRepo)serviceBuilder.GetService("ExcelRepo"); }
public StatementService( IStatementRepo statementRepo, ICategoryRepo categoryRepo, IAssetRepo assetRepo, IFileRepo fileRepo) { _statementRepo = statementRepo; _categoryRepo = categoryRepo; _assetRepo = assetRepo; _fileRepo = fileRepo; }
public TestService(IFileRepo fileRepo, IFunctionSettingsService functionSettings, IPublishSettingsService pubSettingsService, ILocalLogService localLogService, IParamService paramService) { this._paramService = paramService; this._localLogService = localLogService; this._pubSettingsService = pubSettingsService; this._functionSettings = functionSettings; this._fileRepo = fileRepo; }
public RunDataController(IAssetRepo assetRepo, ICategoryRepo categoryRepo, IBaseTypeRepo baseTypeRepo, IBaseItemRepo baseItemRepo, IFileRepo fileRepo, IPermissionRepo permissionRepo, IRoleRepo roleRepo, IRolePermissionRepo rolePermissionRepo, IUserRepo userRepo, IUserRoleRepo userRoleRepo) { _assetRepo = assetRepo; _categoryRepo = categoryRepo; _baseTypeRepo = baseTypeRepo; _baseItemRepo = baseItemRepo; _fileRepo = fileRepo; _permissionRepo = permissionRepo; _roleRepo = roleRepo; _rolePermissionRepo = rolePermissionRepo; _userRepo = userRepo; _userRoleRepo = userRoleRepo; }
public FileManager(IFileRepo fileRepo) { _fileRepo = fileRepo; }
public LocalFileSvc(IWebHostEnvironment hostingEnv, IFileRepo fileRepo) { _hostingEnv = hostingEnv; _fileRepo = fileRepo; }
public UserSvc(IUserRepo userRepo, IFileRepo fileRepo) { _userRepo = userRepo; _fileRepo = fileRepo; }
public UserService(IUserRepo userRepo, IFileRepo fileRepo) { _userRepo = userRepo; _fileRepo = fileRepo; }
public CategorySvc(ICategoryRepo categoryRepo, IFileRepo fileRepo, IMapper mapper) { _categoryRepo = categoryRepo; _fileRepo = fileRepo; _mapper = mapper; }
public AppVersionControlService(IVersionRepo src_meta, IVersionSaveRepo dst_meta, IFileRepo src_content, IFileRepo dst_content, IDiscriptionApp discription) { Src_meta = src_meta ?? throw new Exception(nameof(src_meta)); Dst_meta = dst_meta ?? throw new Exception(nameof(dst_meta)); Src_content = src_content ?? throw new Exception(nameof(src_content)); Dst_content = dst_content ?? throw new Exception(nameof(dst_content)); Discription = discription ?? throw new Exception(nameof(discription)); }
public FileService(IHostingEnvironment hostingEnvironment, IFileRepo fileDetailRepo) { _hostingEnvironment = hostingEnvironment; _fileDetailRepo = fileDetailRepo; }
public FileWatcherService(ILocalLogService logService, IFileRepo fileRepo) { _fileRepo = fileRepo; this._localLogService = logService; }
public FilesController(IFileRepo repository) { Requires.NotNull(repository); this._repository = repository; }
public MainController(IFileRepo repo) { this.repo = repo; }
public HomeController(IExcelConfigurationRepo _excelConfig, ServiceBuilder _serviceBuilder) { excelConfig = _excelConfig; dXFRepo = (IFileRepo)_serviceBuilder.GetService("DXFRepo"); }
public FileController(IFileRepo fileRepo) { _fileRepo = fileRepo; }
public EvolutionLogic(IEvolutionRepo evolutionRepo, IFileRepo fileRepo) { _EvolutionRepo = evolutionRepo; _FileRepo = fileRepo; }
public AssetService(IAssetRepo assetRepo, IFileRepo fileRepo, IMapper mapper) { _assetRepo = assetRepo; _fileRepo = fileRepo; _mapeer = mapper; }
public CreateRoom() { InitializeComponent(); roomRepository = (IRoomRepository)Program.ServiceProvider.GetService(typeof(IRoomRepository)); fileRepo = (IFileRepo)Program.ServiceProvider.GetService(typeof(IFileRepo)); }