예제 #1
0
 public static Peer CreateInstance(string name, ReceiveResponse response)
 {
     return(new Peer(name, MusicDatabase.Load(ConfigurationManager.AppSettings["DATABASE_FILE"]), response));
 }
예제 #2
0
 public List <AlbumItem> LoadAlbums(Expression <Func <AlbumItem, bool> > predicate)
 {
     return(musicDatabase.Load(predicate));
 }