Esempio n. 1
0
        public SongInListContract(SongInList songInList, ContentLanguagePreference languagePreference)
        {
            ParamIs.NotNull(() => songInList);

            Order = songInList.Order;
            Notes = songInList.Notes;
            Song = new SongWithAdditionalNamesContract(songInList.Song, languagePreference);
        }
Esempio n. 2
0
        public SongInListContract(SongInList songInList, ContentLanguagePreference languagePreference)
        {
            ParamIs.NotNull(() => songInList);

            Order = songInList.Order;
            Notes = songInList.Notes;
            Song  = new SongWithAdditionalNamesContract(songInList.Song, languagePreference);
        }
Esempio n. 3
0
        public SongInAlbumContract(SongInAlbum songInAlbum, ContentLanguagePreference languagePreference)
        {
            ParamIs.NotNull(() => songInAlbum);

            DiscNumber = songInAlbum.DiscNumber;
            Id = songInAlbum.Id;
            Song = new SongWithAdditionalNamesContract(songInAlbum.Song, languagePreference);
            TrackNumber = songInAlbum.TrackNumber;
        }
        public SongInAlbumEditContract(SongWithAdditionalNamesContract song)
        {
            ParamIs.NotNull(() => song);

            ArtistString = song.ArtistString;
            SongId = song.Id;
            SongName = song.Name;
            SongAdditionalNames = song.AdditionalNames;
        }
Esempio n. 5
0
        public SongInAlbumContract(SongInAlbum songInAlbum, ContentLanguagePreference languagePreference)
        {
            ParamIs.NotNull(() => songInAlbum);

            DiscNumber  = songInAlbum.DiscNumber;
            Id          = songInAlbum.Id;
            Song        = new SongWithAdditionalNamesContract(songInAlbum.Song, languagePreference);
            TrackNumber = songInAlbum.TrackNumber;
        }
Esempio n. 6
0
        public SongInAlbumEditContract(SongWithAdditionalNamesContract song)
        {
            ParamIs.NotNull(() => song);

            ArtistString        = song.ArtistString;
            SongId              = song.Id;
            SongName            = song.Name;
            SongAdditionalNames = song.AdditionalNames;
        }
        public SongInListEditContract(SongWithAdditionalNamesContract songContract)
        {
            ParamIs.NotNull(() => songContract);

            SongId = songContract.Id;
            SongName = songContract.Name;
            SongAdditionalNames = songContract.AdditionalNames;
            SongArtistString = songContract.ArtistString;

            Notes = string.Empty;
        }
Esempio n. 8
0
        public SongInListEditContract(SongWithAdditionalNamesContract songContract)
        {
            ParamIs.NotNull(() => songContract);

            SongId              = songContract.Id;
            SongName            = songContract.Name;
            SongAdditionalNames = songContract.AdditionalNames;
            SongArtistString    = songContract.ArtistString;

            Notes = string.Empty;
        }
Esempio n. 9
0
 public WVRListEntryResult(string nicoId, int order, string name, string url, SongWithAdditionalNamesContract song)
 {
     NicoId = nicoId;
     Order = order;
     Name = name;
     Url = url;
     Song = song;
 }
Esempio n. 10
0
 public SongTagUsageContract(SongTagUsage tagUsage, ContentLanguagePreference languagePreference)
     : base(tagUsage)
 {
     Song = new SongWithAdditionalNamesContract(tagUsage.Song, languagePreference);
 }
Esempio n. 11
0
 public SongTagUsageContract(SongTagUsage tagUsage, ContentLanguagePreference languagePreference)
     : base(tagUsage)
 {
     Song = new SongWithAdditionalNamesContract(tagUsage.Song, languagePreference);
 }