public MusicServiceMessage(string toUser, string thumbMediaId, string title,
            string description, string musicUrl, string hqMusicUrl)
            : base(toUser, MessageType.Music)
        {
            TkDebug.AssertArgumentNullOrEmpty(thumbMediaId, "thumbMediaId", null);

            Music = new MusicServiceMediaType
            {
                ThumbMediaId = thumbMediaId,
                Title = title,
                Description = description,
                MusicUrl = musicUrl,
                HQMusicUrl = hqMusicUrl
            };
        }
Beispiel #2
0
        public MusicServiceMessage(string toUser, string thumbMediaId, string title,
                                   string description, string musicUrl, string hqMusicUrl)
            : base(toUser, MessageType.Music)
        {
            TkDebug.AssertArgumentNullOrEmpty(thumbMediaId, "thumbMediaId", null);

            Music = new MusicServiceMediaType
            {
                ThumbMediaId = thumbMediaId,
                Title        = title,
                Description  = description,
                MusicUrl     = musicUrl,
                HQMusicUrl   = hqMusicUrl
            };
        }