public AlbumRepositoryCache(IMetadataRepository metadataRepository, Guid userId, HashSet <Artist> artists, string name, Guid collectionId, bool populate) { var repositoryDelegate = new AlbumRepositoryDelegate(userId, artists, name, collectionId, populate); repositoryDelegate.Method = repositoryDelegate.CreateMethod(metadataRepository); RepositoryDelegate = repositoryDelegate; }
private bool Equals(AlbumRepositoryDelegate item) { return(item != null && this == item); }