コード例 #1
0
 public FileSystemAlbumProvider(
     IFileSystem fileSystem,
     AlbumFactory<FileSystemAlbum> albumFactory,
     AlbumItemFactory itemFactory,
     IAuthorizationService authorization,
     ObjectCache cache
     )
 {
     this.fileSystem = fileSystem;
     this.albumFactory = albumFactory;
     this.itemFactory = itemFactory;
     this.authorization = authorization;
     this.cache = cache;
 }
コード例 #2
0
 public PersonAlbumProvider(
     AlbumFactory<PersonAlbum> albumFactory,
     AlbumItemFactory itemFactory,
     FileSystemAlbumProvider primaryAlbumProvider,
     IFaceProvider[] faceProviders,
     IAuthorizationService authorization,
     ObjectCache faceCache
     )
 {
     this.albumFactory = albumFactory;
     this.itemFactory = itemFactory;
     this.primaryAlbumProvider = primaryAlbumProvider;
     this.faceProviders = faceProviders;
     this.authorization = authorization;
     this.faceCache = faceCache;
 }