private ThumbnailOp(ILocalCache <byte[]> cache, IAsyncFlow <byte[]> async) { var log = TopicLogger.New("thumbnail-op"); _log = log; _cache = cache; _async = async; _helpers = ImageUtilities.New(log); }
private Api(Config config) { var cache = LocalCache <byte[]> .New(); var async = AsyncFlow <byte[]> .New(); _log = TopicLogger.New("api"); _thumbnail = ThumbnailOp.New(cache, async); _config = config; }