public HomeController(ICompanyRepository companyRepository, ITaskRepository taskRepository, IBoardRepository boardRepository, UserManager <ApplicationUser> userManager) { _companyRepository = companyRepository; _taskRepository = taskRepository; _boardRepository = boardRepository; _userManager = userManager; }
public void SetUp() { _commandDispatcher = Substitute.For<ICommandDispatcher>(); _boardRepository = Substitute.For<IBoardRepository>(); _controller = new BoardController(_commandDispatcher, _boardRepository); }
public BoardService( IBoardRepository boardRepo, ILogger <BoardService> logger) { _boardRepo = boardRepo; _logger = logger; }
public ProjectService( IProjectRepository projectRepository, IBoardRepository boardRepository) { _projectRepository = projectRepository; _boardRepository = boardRepository; }
public BoardController() { _boardRepository = new BoardRepository(); _columnRepository = new ColumnRepository(); _colorRepository = new ColorRepository(); _taskRepository = new TaskRepository(); }
public MoveNoteToLaneCommandHandler(IBoardRepository boardRepository, INoteRepository noteRepository, ILaneRepository laneRepository) { _boardRepository = boardRepository; _noteRepository = noteRepository; _laneRepository = laneRepository; }
public BOARDS( IBoardRepository boardRepository, ITopicRepository topicRepository) { _boardRepository = boardRepository; _topicRepository = topicRepository; }
// Constructor public WorktaskController(IWorktaskRepository worktaskRepository, ICategoryRepository catRepository, IAccountRepository accRepository, IBoardRepository boardRepository) : base() { this.repository = worktaskRepository; this.catRepository = catRepository; this.accRepository = accRepository; this.boardRepository = boardRepository; }
public GameService(IPlayerService playerService, IBoardCoordinatesRepository boardCoordinatesRepository, IBoardRepository boardRepository, IPlayerRepository playerRepository) { _playerService = playerService; _boardCoordinatesRepository = boardCoordinatesRepository; _boardRepository = boardRepository; _playerRepository = playerRepository; }
public BoardService(IBoardRepository boardRepository, IUnitOfWork unitOfWork) { _boardRepository = boardRepository ?? throw new ArgumentNullException(nameof(boardRepository)); _untUnitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); }
public BoardRepositoryShould() { var cf = new ForumContext(new DbContextOptionsBuilder <ForumContext>() .UseSqlite("Data Source=../ShitForum.db").Options); cf.SeedData().Wait(); this.boards = new BoardRepository(cf); }
public BoardController(IHubContext<BoardHub> hubcontext, IWebHostEnvironment environment, IBoardRepository boardRepository) { _hubContext = hubcontext; _hostEnvironment = environment; _boardRepository = boardRepository; }
public PlayerService( IBoardRepository boardRepo, ILogger <PlayerService> logger) { _boardRepo = boardRepo; _logger = logger; _rnd = new Random(); }
public BoardController(IBoardRepository boardRepository, IPostRepository postRepository, IThreadRepository threadRepository) { _boardRepository = boardRepository; _postRepository = postRepository; _threadRepository = threadRepository; }
// Constructor public KanbanController(IBoardRepository boardRepository, IWorktaskRepository worktaskRepository, ICategoryRepository catRepository, IAccountRepository accRepository, IWorkflowRepository wfRepository) : base() { this.wRepository = worktaskRepository; this.catRepository = catRepository; this.accRepository = accRepository; this.boardRepository = boardRepository; this.wfRepository = wfRepository; }
public BoardAppService(IBoardRepository boardRepository, IMapper mapper, IMediatorHandler mediatorHandler) { _boardRepository = boardRepository; _mapper = mapper; _mediatorHandler = mediatorHandler; }
public BoardServices(ITagRepository tagRepository, ITaskRepository taskRepository, IUserRepository userRepository, IBoardRepository boardRepository, ITeamRepository teamRepository) { _tagRepository = tagRepository; _taskRepository = taskRepository; _userRepository = userRepository; _boardRepository = boardRepository; _teamRepository = teamRepository; }
static BoardRepositoryLocator() { string dataSource = Configuration.GetDataSource(DataSources.BoardsDataSourceName, Properties.Settings.Default.BoardsDataSource); if (!_setRepo.ContainsKey(dataSource)) throw new InvalidDataSourceException(); _setRepo[dataSource].Invoke(); _repo = RepositoryFactory.Make<IBoardRepository>(); }
public PostService(IPostRepository postRepository, IFileRepository fileRepository, IThreadRepository threadRepository, IBannedIpRepository bannedIpRepository, IBoardRepository boardRepository) { this.postRepository = postRepository; this.fileRepository = fileRepository; this.threadRepository = threadRepository; this.bannedIpRepository = bannedIpRepository; this.boardRepository = boardRepository; }
public BoardService(IBoardRepository boardRepository, IMapper <Board, BoardModel> boardToBoardModelMapper, IMapper <List <Board>, List <BoardTask> > BoardToBoardtaskMapper) { _boardRepository = boardRepository; _boardToBoardModelMapper = boardToBoardModelMapper; _boardToBoardtaskMapper = BoardToBoardtaskMapper; }
public Board(int wareId, IBoardRepository br) { Board boardToLoad = br.LoadBoard(wareId); WareId = boardToLoad.WareId; Length = boardToLoad.Length; Width = boardToLoad.Width; Quantity = 1; }
public BoardService(IBoardRepository boardRepository) { this.boardRepository = boardRepository; boardList = new Dictionary <int, IEnumerable <SelectListItem> >(); if (_instance == null) { _instance = this; } }
static Program() { AppDbContextFactory factory = new AppDbContextFactory(); _appContext = factory.CreateDbContext(null); _boardRepository = new BoardRepository(_appContext); _postRepository = new PostRepository(_appContext); _commentRepository = new CommentRepository(_appContext); }
public BoardsController(IBoardRepository boardRepository, ICompanyRepository companyRepository, ITaskRepository taskRepository, ILogger <BoardsController> logger, UserManager <ApplicationUser> userManager) { _boardRepository = boardRepository; _companyRepository = companyRepository; _taskRepository = taskRepository; _logger = logger; _userManager = userManager; }
public TaskManagerDomain( IBoardRepository boardRepository, ISectionRepository sectionRepository, ITaskRepository taskRepository) { this.boardRepository = boardRepository; this.sectionRepository = sectionRepository; this.taskRepository = taskRepository; }
public BoardService(IBoardRepository boardRepository, IUserBoardRepository userBoardRepository, UserManager <User> userManager, IMapper mapper, IObfuscator obfuscator, ICardRepository cardRepository) { _boardRepository = boardRepository; _userBoardRepository = userBoardRepository; _userManager = userManager; _mapper = mapper; _obfuscator = obfuscator; _cardRepository = cardRepository; }
public KanbanService(IBoardRepository boardRepository, IAccountRepository accRepository) { this.boardRepository = boardRepository; this.accRepository = accRepository; if (_instance == null) { _instance = this; } }
public BoardsController( IBoardRepository boardRepository, IDateTimeProvider dateTimeProvider, IBoardMemberRepository memberRepository) { _boardRepository = boardRepository; _dateTimeProvider = dateTimeProvider; _memberRepository = memberRepository; }
public TOPIC( IReplyRepository replyRepository, ITopicRepository topicRepository, IBoardRepository boardRepository ) { _replyRepository = replyRepository; _topicRepository = topicRepository; _boardRepository = boardRepository; }
public BOARD( IBoardRepository boardRepository, ITopicRepository topicRepository, IReplyRepository replyRepository ) { _boardRepository = boardRepository; _topicRepository = topicRepository; _replyRepository = replyRepository; }
public AdminController(RoleManager <IdentityRole> rolesManager, UserManager <IdentityUser> usersManager, IBoardRepository boardRepository, IThreadRepository threadRepository) { this.rolesManager = rolesManager; this.usersManager = usersManager; this._boardRepository = boardRepository; this._threadRepository = threadRepository; }
public BoardController(IBoardRepository boardRepo, IUserRepository userRepo, IUsersBoardsRepository userBoardsRepo, IColumnRepository columnRepo) { _boardRepo = boardRepo; _userRepo = userRepo; _usersBoardsRepo = userBoardsRepo; _columnRepo = columnRepo; }
public HomeController( IUserRepository userRepository, ICategoryRepository categoryRepository, ITaskRepository taskRepository, IBoardRepository boardRepository, IReminderRepository reminderRepository) { _userRepository = userRepository; _categoryRepository = categoryRepository; _taskRepository = taskRepository; _boardRepository = boardRepository; _reminderRepository = reminderRepository; }
public HAVProfileService(IValidationDictionary aValidationDictionary, IUserRetrievalService<User> aUserRetrievalService, IFriendService<User, Friend> aFriendService, IPhotoAlbumService<User, PhotoAlbum, Photo, Friend> aPhotoAlbumService, IHAVProfileRepository aRepository, IBoardRepository<User, Board, BoardReply> aBoardRepository, IProfileQuestionService aProfileQuestionService) { theValidationDictionary = aValidationDictionary; theUserRetrievalService = aUserRetrievalService; theFriendService = aFriendService; theRepository = aRepository; theBoardRepository = aBoardRepository; thePhotoAlbumService = aPhotoAlbumService; theProfileQuestionService = aProfileQuestionService; }
public BoardManager( IBoardRepository boardRepository, ICardManager cardManager, IUserBoardShareRepository userBoardShareRepository, IBoardUserShareRepository boardUserShareRepository, IUserManager userManager, INotificationManager notificationManager) { _cardManager = cardManager; _userManager = userManager; _notificationManager = notificationManager; _boardRepository = boardRepository; _boardRepository.CreateIfNotExist(); _boardUserShareRepository = boardUserShareRepository; _boardUserShareRepository.CreateIfNotExist(); _userBoardShareRepository = userBoardShareRepository; _userBoardShareRepository.CreateIfNotExist(); }
/// <summary> /// Constructs the Note service using Structure Map to inject the required repositories /// </summary> /// <param name="noteRepository">The SM Injected note repository.</param> /// <param name="boardRepository">The SM INjected board repository.</param> public NoteService(INoteRepository noteRepository, IBoardRepository boardRepository) { _noteRepository = noteRepository; _boardRepository = boardRepository; }
public BoardService(IBoardRepository BoardRepository) { this._BoardRepository = BoardRepository; }
public BoardController(ICommandDispatcher commandDispatcher, IBoardRepository boardRepository) { _commandDispatcher = commandDispatcher; _boardRepository = boardRepository; }
public void SetUp() { _repository = Substitute.For<IBoardRepository>(); _handler = new PersistentStoreCommandHandler(_repository); }
public BoardViewModel(IBoardRepository repository) { this.repository = repository; Cells = new ObservableCollection<CellViewModel>(); for (int row = 0; row < 3; ++row) { for (int col = 0; col < 3; ++col) { Cells.Add(new CellViewModel(this, row, col)); } } LoginCommand = new RelayCommand(async () => { await repository.Login("user"); BoardStatus = Status.NotDone; RaiseCanExecuteChanged(); }); }
public HomeController() { _boardRepository = new BoardRepository(); _userRerpository = new UserRepository(); }
public BoardsController(IBoardRepository boardRepository) { Check.Require(boardRepository != null, "_boardRepository may not be null"); this._boardRepository = boardRepository; }