示例#1
0
        public SongInListContract(SongInList songInList, ContentLanguagePreference languagePreference)
        {
            ParamIs.NotNull(() => songInList);

            Order = songInList.Order;
            Notes = songInList.Notes;
            Song = new SongWithAdditionalNamesContract(songInList.Song, languagePreference);
        }
示例#2
0
        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;
        }
示例#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;
        }
示例#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;
        }
示例#8
0
        public SongInListEditContract(SongWithAdditionalNamesContract songContract)
        {
            ParamIs.NotNull(() => songContract);

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

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