コード例 #1
0
        private static RomanizedSong ToRomanizedSong(Song song)
        {
            RomanizedSong s = new RomanizedSong
            {
                Title          = song.Title,
                Artist         = song.Artist,
                Album          = song.Album,
                FeaturedArtist = song.FeaturedArtist,
                Id             = song.Id
            };

            return(s);
        }
コード例 #2
0
 public SongBundle()
 {
     Normal    = new Song();
     Romanized = new RomanizedSong();
 }
コード例 #3
0
 public SongBundle(Song song, RomanizedSong romanized)
 {
     Normal    = song;
     Romanized = romanized;
 }