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
            };
        }
Example #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
            };
        }