Esempio n. 1
0
        //private Dictionary<...> lastFmObjects = new Dictionary<...>();

        public LastfmMockRequest()
        {
            // Hard coded objects
            DtoArtist dtoArtist = new DtoArtist();

            dtoArtist.Artist = new Artist();
            //lastFmObjects.Add();
        }
Esempio n. 2
0
        private static DtoArtist DtoArtistInit()
        {
            var dtoArtist = new DtoArtist
            {
                Artist = new Artist
                {
                    Name  = "Muse",
                    Mbid  = "fd857293-5ab8-40de-b29e-55a69d4e4d0f",
                    Url   = "https://www.last.fm/music/Muse",
                    Stats = new Statistics {
                        Listeners = 4172632, Playcount = 355245952
                    }
                }
            };

            return(dtoArtist);
        }