public ManagementController(ITextAttributeService attrService, IImageProcessor imageProcessor, IConverterFactory factory, IAlbumService albumService, IPhotoService photoService, ITagService tagService, IWatermarkService watermarkService) { _imageProcessor = imageProcessor; _factory = factory; _converterAttr = _factory.GetConverter <ITextAttributeConverter>(); _attrService = attrService; _albumService = albumService; _tagService = tagService; _photoService = photoService; _watermarkService = watermarkService; }
public TextAttributeService(IConverterFactory factory, BaseProvider <TextAttributes> provider) { _providerAttr = provider; _factory = factory; _converter = _factory.GetConverter <ITextAttributeConverter>(); }