public PhotoThumbnail( IThumbnailLoader thumbnailLoader, IEntity entity, CancellationToken cancellationToken) { _cancellationToken = cancellationToken; _thumbnailLoader = thumbnailLoader; _entity = entity; }
public void Setup() { var catalog = new AggregateCatalog( new AssemblyCatalog(Assembly.GetAssembly(typeof(Viewer.Data.IEntity))), new AssemblyCatalog(Assembly.GetAssembly(typeof(Viewer.Query.IRuntime))), new AssemblyCatalog(Assembly.GetAssembly(typeof(Viewer.QueryRuntime.IntValueAdditionFunction))), new AssemblyCatalog(Assembly.GetAssembly(typeof(Viewer.IO.IFileSystem))), new AssemblyCatalog(Assembly.GetAssembly(typeof(Viewer.Images.IThumbnailLoader)))); _container = new CompositionContainer(catalog); _container.GetExportedValue <IStorageConfiguration>(); _storage = _container.GetExportedValue <IAttributeStorage>(); _loader = _container.GetExportedValue <IThumbnailLoader>(); }
public ImportController(IFileSystem fileSystem, IThumbnailLoader thumbnailLoader) { this.fileSystem = fileSystem; this.thumbnailLoader = thumbnailLoader; }
public ThumbnailFactory(IThumbnailLoader thumbnailLoader) { _thumbnailLoader = thumbnailLoader; }
public AssetViewModelBuilder(IThumbnailLoader thumbnailLoader, Editor editor) { _thumbnailLoader = thumbnailLoader; _editor = editor; }