public ExtractWorldInformationService(IEventBus eventBus, IModelService modelService, IResourceService resourceService, ICropImageService cropService, ILogService logService)
 {
     this.eventBus        = eventBus;
     this.modelService    = modelService;
     this.resourceService = resourceService;
     this.logService      = logService;
     this.imageService    = cropService;
 }
 public CropImageSelectModel(ICropImageService cropImageService)
 {
     _cropImageService = cropImageService ?? throw new ArgumentNullException(nameof(cropImageService));
 }
Example #3
0
 public SaveImageService(ICropImageService cropImageService)
 {
     this.cropWindowService = cropImageService;
     Directory.CreateDirectory(Properties.Settings.Default.OutputDirectory);
 }
Example #4
0
 public EditImagesController(IImagesEditService imagesEditService, ICropImageService cropImageService)
 {
     _imagesEditService = imagesEditService;
     _cropImageService  = cropImageService;
 }
Example #5
0
 internal static void Init(ICropImageService cropImage)
 {
     _instance = cropImage;
 }