public SongInListContract(SongInList songInList, ContentLanguagePreference languagePreference) { ParamIs.NotNull(() => songInList); Order = songInList.Order; Notes = songInList.Notes; Song = new SongWithAdditionalNamesContract(songInList.Song, languagePreference); }
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; }
public SongInListEditContract(SongWithAdditionalNamesContract songContract) { ParamIs.NotNull(() => songContract); SongId = songContract.Id; SongName = songContract.Name; SongAdditionalNames = songContract.AdditionalNames; SongArtistString = songContract.ArtistString; Notes = string.Empty; }
public WVRListEntryResult(string nicoId, int order, string name, string url, SongWithAdditionalNamesContract song) { NicoId = nicoId; Order = order; Name = name; Url = url; Song = song; }
public SongTagUsageContract(SongTagUsage tagUsage, ContentLanguagePreference languagePreference) : base(tagUsage) { Song = new SongWithAdditionalNamesContract(tagUsage.Song, languagePreference); }