public McvWhowatchCommentViewModel(WhowatchSitePlugin.IWhowatchComment comment, IMessageMetadata metadata, IMessageMethods methods, IConnectionStatus connectionStatus, IOptions options)
            : this(metadata, methods, connectionStatus, options)
        {
            _message = comment;

            _nameItems   = comment.NameItems;
            MessageItems = comment.CommentItems;
            Thumbnail    = comment.UserIcon;
            Id           = comment.Id.ToString();
            PostTime     = comment.PostTime;
        }
Пример #2
0
        public McvWhowatchCommentViewModel(WhowatchSitePlugin.IWhowatchComment comment, IMessageMetadata metadata, IMessageMethods methods, IConnectionStatus connectionStatus, IOptions options)
            : this(metadata, methods, connectionStatus, options)
        {
            _message = comment;

            _nameItems   = Common.MessagePartFactory.CreateMessageItems(comment.UserName);
            MessageItems = Common.MessagePartFactory.CreateMessageItems(comment.Comment);
            Thumbnail    = comment.UserIcon;
            Id           = comment.Id;
            PostTime     = comment.PostTime;
        }