public PhotoCommand(IPhotoStore store, IPhotoResizer resizer, IPhotoConfig config) { Ensure.Any.IsNotNull(store, nameof(store)); Ensure.Any.IsNotNull(resizer, nameof(resizer)); Ensure.Any.IsNotNull(config, nameof(config)); _store = store; _resizer = resizer; _config = config; }
public PhotoProcessor(IArchiveParser archiveParser, IPackageReader packageReader, IIdentifierProvider identifierProvider, IPhotoResizer photoResizer, IPhotoStorage photoStorage) { this.archiveParser = archiveParser; this.packageReader = packageReader; this.identifierProvider = identifierProvider; this.photoResizer = photoResizer; this.photoStorage = photoStorage; }
public FotoApplicationService( IEventoService evtsvc, IFotoService fotoSvc, IPhotoResizer resizer, ApplicationUserManager usermng, ApplicationSignInManager sigmng) : base(fotoSvc) { this._eventSvc = evtsvc; this._fotoSvc = fotoSvc; this._resizer = resizer; this._userMng = usermng; this._sigMng = sigmng; }
public EventoApplicationService(IEventoService svc, IPhotoResizer resizer) : base(svc) { _resizer = resizer; }