public TaskUsersMaintenanceProcessor(IUpdateTaskQueryProcessor queryProcessor, IAutoMapper autoMapper,
     ITaskLinkService taskLinkService)
 {
     _queryProcessor = queryProcessor;
     _autoMapper = autoMapper;
     _taskLinkService = taskLinkService;
 }
 public AllStatusesInquiryProcessor(IAllStatusesQueryProcessor queryProcessor, IAutoMapper autoMapper,
     IStatusLinkService statusLinkService)
 {
     _queryProcessor = queryProcessor;
     _autoMapper = autoMapper;
     _statusLinkService = statusLinkService;
 }
 public ReactivateTaskWorkflowProcessor(ITaskByIdQueryProcessor taskByIdQueryProcessor,
 IUpdateTaskStatusQueryProcessor updateTaskStatusQueryProcessor, IAutoMapper autoMapper)
 {
     _taskByIdQueryProcessor = taskByIdQueryProcessor;
     _updateTaskStatusQueryProcessor = updateTaskStatusQueryProcessor;
     _autoMapper = autoMapper;
 }
 public AddTechnologyMaintenanceProcessor(
     IAutoMapper autoMapper, 
     IAddTechnologyQueryProcessor queryProcessor)
 {
     _autoMapper = autoMapper;
     _queryProcessor = queryProcessor;
 }
 public TaskUsersInquiryProcessor(ITaskByIdQueryProcessor queryProcessor, IAutoMapper autoMapper,
     ITaskUsersLinkService taskUsersLinkService)
 {
     _queryProcessor = queryProcessor;
     _autoMapper = autoMapper;
     _taskUsersLinkService = taskUsersLinkService;
 }
 public StartTaskWorkflowProcessor(ITaskByIdQueryProcessor taskByIdQueryProcessor, IUpdateTaskStatusQueryProcessor updateTaskStatusQueryProcessor, IAutoMapper autoMapper, IDateTime dateTime)
 {
     _taskByIdQueryProcessor = taskByIdQueryProcessor;
     _updateTaskStatusQueryProcessor = updateTaskStatusQueryProcessor;
     _autoMapper = autoMapper;
     _dateTime = dateTime;
 }
        /// <summary>
        /// Adds the auto mapper.
        /// </summary>
        /// <param name="autoMapper">The auto mapper.</param>
        public void AddAutoMapper(IAutoMapper autoMapper)
        {
            if (autoMapper == null)
                throw new ArgumentNullException("autoMapper");

            this._autoMappers.Add(autoMapper);
        }
 public AddTaskMaintenanceProcessor(IAddTaskQueryProcessor queryProcessor, IAutoMapper autoMapper,
     ITaskLinkService taskLinkService)
 {
     _queryProcessor = queryProcessor;
     _autoMapper = autoMapper;
     _taskLinkService = taskLinkService;
 }
 public UserByIdInquiryProcessor(IUserByIdQueryProcessor queryProcessor, IAutoMapper autoMapper,
     IUserLinkService userLinkService)
 {
     _queryProcessor = queryProcessor;
     _autoMapper = autoMapper;
     _userLinkService = userLinkService;
 }
 public TechnologyByIdProcessor(
     IAutoMapper autoMapper, 
     ITechnologyByIdQueryProcessor technologyByIdQueryProcessor)
 {
     _autoMapper = autoMapper;
     _technologyByIdQueryProcessor = technologyByIdQueryProcessor;
 }
 public AllUsersInquiryProcessor(IAllUsersQueryProcessor queryProcessor, IAutoMapper autoMapper,
     IUserLinkService userLinkService, ICommonLinkService commonLinkService)
 {
     _queryProcessor = queryProcessor;
     _autoMapper = autoMapper;
     _userLinkService = userLinkService;
     _commonLinkService = commonLinkService;
 }
 public AllTasksInquiryProcessor(IAllTasksQueryProcessor queryProcessor, IAutoMapper autoMapper,
     ITaskLinkService taskLinkService, ICommonLinkService commonLinkService)
 {
     _queryProcessor = queryProcessor;
     _autoMapper = autoMapper;
     _taskLinkService = taskLinkService;
     _commonLinkService = commonLinkService;
 }
 public UpdateTaskMaintenanceProcessor(IUpdateTaskQueryProcessor queryProcessor,
 IAutoMapper autoMapper,
 IUpdateablePropertyDetector updateablePropertyDetector)
 {
     _queryProcessor = queryProcessor;
     _autoMapper = autoMapper;
     _updateablePropertyDetector = updateablePropertyDetector;
 }
Example #14
0
 public GameByIdProcessor(
     IAutoMapper autoMapper, 
     IGameLinkService gameLinkService,
     IGameByIdQueryProcessor gameByIdQueryProcessor)
 {
     _autoMapper = autoMapper;
     _gameLinkService = gameLinkService;
     _gameByIdQueryProcessor = gameByIdQueryProcessor;
 }
Example #15
0
        /// <summary>
        ///   Initializes a new instance of the <see cref = "AutoMappingStore" /> class.
        /// </summary>
        /// <param name = "autoMapper">The auto mapper.</param>
        /// <param name = "mappingStore">The mapping store.</param>
        public AutoMappingStore(IAutoMapper autoMapper, IMappingStore mappingStore)
        {
            if(autoMapper == null)
                throw new ArgumentNullException("autoMapper");

            _autoMapper = autoMapper;
            _autoMaps = new Dictionary<Type, IClassMap>();
            _wrappedMappingStore = mappingStore;
        }
 public AllStatusesProcessor(
     IAutoMapper autoMapper, 
     IStatusLinkService statusLinkService, 
     IAllStatusesQueryProcessor queryProcessor)
 {
     _autoMapper = autoMapper;
     _statusLinkService = statusLinkService;
     _queryProcessor = queryProcessor;
 }
 public void Configure(IAutoMapper mapper)
 {
     // Ignore properties on the target class that aren't available on the source class
     mapper.CreateMap<NewTechnology, Data.Entities.Technology>()
         .ForMember(opt => opt.Version, x => x.Ignore())
         .ForMember(opt => opt.TechnologyId, x => x.Ignore())
         .ForMember(opt => opt.Buildings, x => x.Ignore())
         .ForMember(opt => opt.Units, x => x.Ignore());
 }
 public BuildingByIdProcessor(
     IAutoMapper autoMapper, 
     IBuildingLinkService buildingLinkService,
     IBuildingByIdQueryProcessor buildingByIdQueryProcessor)
 {
     _autoMapper = autoMapper;
     _buildingLinkService = buildingLinkService;
     _buildingByIdQueryProcessor = buildingByIdQueryProcessor;
 }
        public void Configure(IAutoMapper mapper)
        {
            mapper.CreateMap<Building, Models.Building>()
                .ForMember(opt => opt.Links, x => x.Ignore());

            // Precis mapping
            mapper.CreateMap<Building, Models.Precis.BuildingPrecis>()
                .ForMember(x => x.Links, opts => opts.Ignore());
        }
 public AddBuildingMaintenanceProcessor(
     IAutoMapper autoMapper,
     IBuildingLinkService buildingLinkService,
     IAddBuildingQueryProcessor queryProcessor)
 {
     _autoMapper = autoMapper;
     _queryProcessor = queryProcessor;
     _buildingLinkService = buildingLinkService;
 }
 public AddUnitMaintenanceProcessor(
     IAutoMapper autoMapper,
     IUnitLinkService unitLinkService,
     IAddUnitQueryProcessor queryProcessor)
 {
     _autoMapper = autoMapper;
     _queryProcessor = queryProcessor;
     _unitLinkService = unitLinkService;
 }
 public GameTechnologiesMaintenanceProcessor(
     IAutoMapper autoMapper, 
     IGameLinkService gameLinkService,
     IUpdateGameQueryProcessor queryProcessor)
 {
     _autoMapper = autoMapper;
     _queryProcessor = queryProcessor;
     _gameLinkService = gameLinkService;
 }
Example #23
0
        public void Configure(IAutoMapper mapper)
        {
            mapper.CreateMap<Unit, Data.Entities.Unit>()
                .ForMember(opt => opt.Version, x => x.Ignore());

            // Precis mapping
            mapper.CreateMap<UnitPrecis, Data.Entities.Unit>()
                .ForMember(opt => opt.Technology, x => x.Ignore())
                .ForMember(opt => opt.Version, x => x.Ignore());
        }
 public CompleteTaskWorkflowProcessor(ITaskByIdQueryProcessor taskByIdQueryProcessor,
     IUpdateTaskStatusQueryProcessor updateTaskStatusQueryProcessor, IAutoMapper autoMapper,
     ITaskLinkService taskLinkService, IDateTime dateTime)
 {
     _taskByIdQueryProcessor = taskByIdQueryProcessor;
     _updateTaskStatusQueryProcessor = updateTaskStatusQueryProcessor;
     _autoMapper = autoMapper;
     _taskLinkService = taskLinkService;
     _dateTime = dateTime;
 }
Example #25
0
 public AllGamesProcessor(
     IAutoMapper autoMapper, 
     ICommonLinkService commonLinkService, 
     IAllGamesQueryProcessor queryProcessor,
     IGamePrecisLinkService gameLinkService)
 {
     _autoMapper = autoMapper;
     _commonLinkService = commonLinkService;
     _queryProcessor = queryProcessor;
     _gameLinkService = gameLinkService;
 }
Example #26
0
 public AllUnitsProcessor(
     IAutoMapper autoMapper,
     ICommonLinkService commonLinkService,
     IAllUnitsQueryProcessor queryProcessor,
     IUnitPrecisLinkService unitLinkService)
 {
     _autoMapper = autoMapper;
     _commonLinkService = commonLinkService;
     _queryProcessor = queryProcessor;
     _unitLinkService = unitLinkService;
 }
 public AllBuildingsProcessor(
     IAutoMapper autoMapper,
     ICommonLinkService commonLinkService,
     IAllBuildingsQueryProcessor queryProcessor,
     IBuildingPrecisLinkService buildingLinkService)
 {
     _autoMapper = autoMapper;
     _commonLinkService = commonLinkService;
     _queryProcessor = queryProcessor;
     _buildingLinkService = buildingLinkService;
 }
 public UpdateGameMaintenanceProcessor(
     IAutoMapper autoMapper, 
     IGameLinkService gameLinkService,
     IUpdateGameQueryProcessor queryProcessor, 
     IUpdateablePropertyDetector updateablePropertyDetector)
 {
     _autoMapper = autoMapper;
     _queryProcessor = queryProcessor;
     _gameLinkService = gameLinkService;
     _updateablePropertyDetector = updateablePropertyDetector;
 }
 public UpdateUnitMaintenanceProcessor(
     IAutoMapper autoMapper,
     IUnitLinkService unitLinkService,
     IUpdateUnitQueryProcessor queryProcessor,
     IUpdateablePropertyDetector updateablePropertyDetector)
 {
     _autoMapper = autoMapper;
     _queryProcessor = queryProcessor;
     _unitLinkService = unitLinkService;
     _updateablePropertyDetector = updateablePropertyDetector;
 }
 public UpdateBuildingMaintenanceProcessor(
     IAutoMapper autoMapper,
     IBuildingLinkService buildingLinkService,
     IUpdateBuildingQueryProcessor queryProcessor,
     IUpdateablePropertyDetector updateablePropertyDetector)
 {
     _autoMapper = autoMapper;
     _queryProcessor = queryProcessor;
     _buildingLinkService = buildingLinkService;
     _updateablePropertyDetector = updateablePropertyDetector;
 }
Example #31
0
 public SkillModel(ISkillsService skillsService, IAutoMapper autoMapper)
 {
     _skillsService = skillsService;
     _autoMapper    = autoMapper;
 }
Example #32
0
 public TicketOrderService(EventsDBContext dbContext, IAutoMapper mapper)
 {
     _dbContext = dbContext;
     _mapper    = mapper;
 }
 public BiddingController(IBiddingService service, IAutoMapper mapper)
 {
     _mapper  = mapper;
     _service = service;
 }
 public AccountProcessor(IAccountRepository repository, IProfileImageStore store, IAutoMapper automapper)
 {
     this._repository = repository;
     this._store      = store;
     this._automapper = automapper;
 }
Example #35
0
 public UsersController(IUsersQueryProcessor query, IAutoMapper mapper)
 {
     _query  = query ?? throw new ArgumentNullException(nameof(query));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }