public YouTubeLiveCommentViewModel(YouTubeLiveSitePlugin.IYouTubeLiveComment comment, IMessageMetadata metadata, IMessageMethods methods) : this(metadata, methods) { _message = comment; _nameItems = comment.NameItems; MessageItems = comment.CommentItems; Thumbnail = comment.UserIcon; Id = comment.Id.ToString(); PostTime = comment.PostTime; }
public McvYouTubeLiveCommentViewModel(YouTubeLiveSitePlugin.IYouTubeLiveComment 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.PostedAt.ToString("HH:mm:ss"); }