/// <summary>Ctor /// </summary> public ImageResizerMiddleware(RequestDelegate next, IWebHostEnvironment env, ILoggerFactory loggerFactory, IImageResizeService imageResizeService) { _next = next; _env = env; _logger = loggerFactory.CreateLogger(DotCommonConsts.LoggerName); _imageResizeService = imageResizeService; }
/// <summary>Ctor /// </summary> public ImageResizerMiddleware(ILogger <ImageResizerMiddleware> logger, RequestDelegate next, IWebHostEnvironment env, IImageResizeService imageResizeService) { _next = next; _env = env; _logger = logger; _imageResizeService = imageResizeService; }
public void Setup() { centreCustomPromptsService = A.Fake <ICentreCustomPromptsService>(); userService = A.Fake <IUserService>(); imageResizeService = A.Fake <ImageResizeService>(); jobGroupsDataService = A.Fake <IJobGroupsDataService>(); centreCustomPromptHelper = new CentreCustomPromptHelper(centreCustomPromptsService); }
public void Setup() { centreRegistrationPromptsService = A.Fake <ICentreRegistrationPromptsService>(); userService = A.Fake <IUserService>(); imageResizeService = A.Fake <ImageResizeService>(); jobGroupsDataService = A.Fake <IJobGroupsDataService>(); promptsService = new PromptsService(centreRegistrationPromptsService); }
public MediaService(MediaContext context, IMediaRepository mediaRepository, IChecksumService checksumService, IImageResizeService imageResizeService) { this.context = context; this.mediaRepository = mediaRepository; this.checksumService = checksumService; this.imageResizeService = imageResizeService; }
public ConfigurationController( ICentresDataService centresDataService, IMapsApiHelper mapsApiHelper, ILogger <ConfigurationController> logger, IImageResizeService imageResizeService ) { this.centresDataService = centresDataService; this.mapsApiHelper = mapsApiHelper; this.logger = logger; this.imageResizeService = imageResizeService; }
public MyAccountController( ICentreRegistrationPromptsService centreRegistrationPromptsService, IUserService userService, IImageResizeService imageResizeService, IJobGroupsDataService jobGroupsDataService, PromptsService registrationPromptsService ) { this.centreRegistrationPromptsService = centreRegistrationPromptsService; this.userService = userService; this.imageResizeService = imageResizeService; this.jobGroupsDataService = jobGroupsDataService; promptsService = registrationPromptsService; }
public MyAccountController( ICentreCustomPromptsService centreCustomPromptsService, IUserService userService, IImageResizeService imageResizeService, IJobGroupsDataService jobGroupsDataService, CentreCustomPromptHelper customPromptHelper ) { this.centreCustomPromptsService = centreCustomPromptsService; this.userService = userService; this.imageResizeService = imageResizeService; this.jobGroupsDataService = jobGroupsDataService; centreCustomPromptHelper = customPromptHelper; }
public ImageService(IImageStorageService imageStorageService, IImageResizeService imageResizeService) { _imageStorageService = imageStorageService; _imageResizeService = imageResizeService; }
public IconResizeUtitlityService(IImageResizeService resizeService, IProjectFileUpdater projectFileUpdater) { _resizeService = resizeService; _projectFileUpdater = projectFileUpdater; }