public MultimediaService( IModelDbFactory modelDbFactory, ISanitizer sanitizer, IAutoMapperService mapper, IEfDbContextSaveChanges context, IPhotoArtSystemEfDbRepository <Multimedia> multimedia) { Guard.WhenArgument( modelDbFactory, GlobalConstants.ModelDbFactoryRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( sanitizer, GlobalConstants.SanitizerRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( mapper, GlobalConstants.AutoMapperServiceRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( context, GlobalConstants.EfDbContextRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( multimedia, GlobalConstants.MultimediaEfDbRepositoryRequiredExceptionMessage).IsNull().Throw(); this.modelDbFactory = modelDbFactory; this.sanitizer = sanitizer; this.mapper = mapper; this.context = context; this.multimedia = multimedia; }
public ImageService( IModelDbFactory modelDbFactory, IAutoMapperService mapper, IEfDbContextSaveChanges context, IPhotoArtSystemEfDbRepository <Image> images, IImageCloudStorage storage) { Guard.WhenArgument( modelDbFactory, GlobalConstants.ModelDbFactoryRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( mapper, GlobalConstants.AutoMapperServiceRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( context, GlobalConstants.EfDbContextRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( images, GlobalConstants.ImageEfDbRepositoryRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( storage, GlobalConstants.CloudStorageRequiredExceptionMessage).IsNull().Throw(); this.modelDbFactory = modelDbFactory; this.mapper = mapper; this.context = context; this.images = images; this.storage = storage; }
public PhotocourseService( IModelDbFactory modelDbFactory, ISanitizer sanitizer, IAutoMapperService mapper, IEfDbContextSaveChanges context, IPhotoArtSystemEfDbRepository <Photocourse> photocourses) { Guard.WhenArgument( modelDbFactory, GlobalConstants.ModelDbFactoryRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( sanitizer, GlobalConstants.SanitizerRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( mapper, GlobalConstants.AutoMapperServiceRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( context, GlobalConstants.EfDbContextRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( photocourses, GlobalConstants.PhotocourseEfDbRepositoryRequiredExceptionMessage).IsNull().Throw(); this.modelDbFactory = modelDbFactory; this.sanitizer = sanitizer; this.mapper = mapper; this.context = context; this.photocourses = photocourses; }
// The Typed method for RawAutoMappers static IAutoMapperRequestKey <TSource, TDestination> SubmitRawAutoMapperRequest <TSource, TDestination> ( IAutoMapperConfigDetails autoMapperConfigDetails, Type sourceType, Type destinationType, string configPackageName, IHaveAMapperConfigurationStep configStarterForThisRequest, IAutoMapperService autoMapperProvider ) { IMapTypeDefinition srcMapTypeDef = new MapTypeDefinition(typeof(TSource)); IMapTypeDefinition dstMapTypeDef = new MapTypeDefinition(typeof(TDestination)); IAutoMapperRequestKey <TSource, TDestination> result = autoMapperProvider.SubmitRawAutoMapperRequest <TSource, TDestination> ( srcMapTypeDef: srcMapTypeDef, dstMapTypeDef: dstMapTypeDef, configuationDetails: autoMapperConfigDetails, configPackageName: configPackageName, configStarterForThisRequest: configStarterForThisRequest ); return(result); }
public TransportationController( IMessageBrokerService messageBrokerService, IAutoMapperService autoMapperService) { _messageBrokerService = messageBrokerService; _autoMapperService = autoMapperService; }
public ArticleController(IArticleRepository articleRepository, ILoggerService logService, IAutoMapperService mapperService ) : base(logService) { this.articleRepository = articleRepository; _logService = logService; _mapperService = mapperService; }
public GetAlertQueueHandler( IServiceBusCommunicationService serviceBusCommunicationService, IAlertService alertService, IAutoMapperService autoMapperService) { _serviceBusCommunicationService = serviceBusCommunicationService; _alertService = alertService; _autoMapperService = autoMapperService; }
public MultimediaSetupController( IMultimediaService multimediaService, ICacheService cache, IAutoMapperService mapper) : base(mapper) { this.multimediaService = multimediaService; this.cache = cache; }
public GetUserViolationListQueueHandler( IServiceBusCommunicationService serviceBusCommunicationService, IViolationService violationService, IAutoMapperService autoMapperService) { _serviceBusCommunicationService = serviceBusCommunicationService; _violationService = violationService; _autoMapperService = autoMapperService; }
public PostAlertQueueHandler( IServiceBusCommunicationService serviceBusCommunicationService, IAlertRepository alertRepository, IAutoMapperService autoMapperService) { _serviceBusCommunicationService = serviceBusCommunicationService; _alertRepository = alertRepository; _autoMapperService = autoMapperService; }
public PhotocourseController( IPhotocourseService photocourseService, ICacheService cache, IAutoMapperService mapper) : base(mapper) { this.photocourseService = photocourseService; this.cache = cache; }
public GetTransportationAlertListQueueHandler( IServiceBusCommunicationService serviceBusCommunicationService, IAlertRepository alertRepository, IAutoMapperService autoMapperService) { _serviceBusCommunicationService = serviceBusCommunicationService; _alertRepository = alertRepository; _autoMapperService = autoMapperService; }
public PostCapturedLocationQueueHandler( ILoggingService loggingService, IAutoMapperService autoMapperService, ICapturedLocationService capturedLocationService ) : base(loggingService.GetLogAction()) { _autoMapperService = autoMapperService; _capturedLocationService = capturedLocationService; }
public PhotocourseSetupController( ICacheService cache, IImageService imageService, IPhotocourseService photocourseService, IAutoMapperService mapper) : base(mapper) { this.cache = cache; this.imageService = imageService; this.photocourseService = photocourseService; }
public HomeController( IInformationGetService informationService, IPhotocourseGetService photocourseService, ICacheService cache, IAutoMapperService mapper) : base(mapper) { this.informationService = informationService; this.photocourseService = photocourseService; this.cache = cache; }
public GetUsersQueueHandler( IUserRepository userRepository, ILoggingService loggingService, IServiceBusCommunicationService serviceBusCommunicationService, IAutoMapperService autoMapperService ) : base(loggingService.GetLogAction()) { _userRepository = userRepository; _serviceBusCommunicationService = serviceBusCommunicationService; _autoMapperService = autoMapperService; }
public ApplicationUserProfileService(IAutoMapperService mapper, IPhotoArtSystemEfDbRepository <ApplicationUser> users) { Guard.WhenArgument( mapper, GlobalConstants.AutoMapperServiceRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( users, GlobalConstants.ApplicationUserEfDbRepositoryRequiredExceptionMessage).IsNull().Throw(); this.mapper = mapper; this.users = users; }
public SimplePropBagMapperService ( IMapTypeDefinitionProvider mapTypeDefinitionProvider, IPropBagMapperBuilderProvider mapperBuilderProvider, ICachePropBagMappers mappersCachingService, IAutoMapperService autoMapperService ) { _mapTypeDefinitionProvider = mapTypeDefinitionProvider ?? throw new ArgumentNullException(nameof(mapTypeDefinitionProvider)); _mapperBuilderProvider = mapperBuilderProvider ?? throw new ArgumentNullException(nameof(mapperBuilderProvider)); _propBagMappersCache = mappersCachingService ?? throw new ArgumentNullException(nameof(mappersCachingService)); _autoMapperService = autoMapperService ?? throw new ArgumentNullException(nameof(autoMapperService)); }
public StudentService(IAutoMapperService mapper, IEfDbContextSaveChanges context, IPhotoArtSystemEfDbRepository <Student> students) { Guard.WhenArgument( mapper, GlobalConstants.AutoMapperServiceRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( context, GlobalConstants.EfDbContextRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( students, GlobalConstants.StudentEfDbRepositoryRequiredExceptionMessage).IsNull().Throw(); this.mapper = mapper; this.context = context; this.students = students; }
public InformationService( IAutoMapperService mapper, IEfDbContextSaveChanges context, IPhotoArtSystemEfDbRepository <Information> information) { Guard.WhenArgument( mapper, GlobalConstants.AutoMapperServiceRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( context, GlobalConstants.EfDbContextRequiredExceptionMessage).IsNull().Throw(); Guard.WhenArgument( information, GlobalConstants.InformationEfDbRepositoryRequiredExceptionMessage).IsNull().Throw(); this.mapper = mapper; this.context = context; this.information = information; }
public TeachingUnitService(IUnitOfWork uow, IAutoMapperService mapper, ILogger <TeachingUnitService> logger) : base(uow, mapper, logger) { }
public AccountController(SignInManager <AppUser> signInManager, IAutoMapperService mapper, UserManager <AppUser> userManager) { this.signInManager = signInManager; this.mapper = mapper; this.userManager = userManager; }
public ServiceBase(IUnitOfWork uow, IAutoMapperService mapper, ILogger <ServiceBase> logger) { _uow = uow; _mapper = mapper; _logger = logger; }
protected override void Init() { _autoMapperService = CurrentServiceProvider.GetService <IAutoMapperService>(); }
public FileDocumentService(IUnitOfWork uow, IAutoMapperService mapper, ILogger <FileDocumentService> logger) : base(uow, mapper, logger) { }
public ClientService(IUnitOfWork uow, IAutoMapperService mapper, ILogger <ClientService> logger) : base(uow, mapper, logger) { }
public StatusService(IUnitOfWork uow, IAutoMapperService mapper, ILogger <CoffeeService> logger) : base(uow, mapper, logger) { }
public PersonServiceCsv(IFileLoader fileLoaderCsv, IAutoMapperService mapper) { _fileLoaderCsv = fileLoaderCsv; _mapper = mapper; }
protected BaseController(IAutoMapperService mapper) { this.Mapper = mapper; }
public PersonService(IUnitOfWork uow, IAutoMapperService mapper, ILogger <PersonService> logger) : base(uow, mapper, logger) { }