public MixerCommentViewModel(MixerSitePlugin.IMixerComment comment, IMessageMetadata metadata, IMessageMethods methods, IConnectionStatus connectionStatus, IOptions options) : this(metadata, methods, connectionStatus, options) { _message = comment; _nameItems = Common.MessagePartFactory.CreateMessageItems(comment.UserName); MessageItems = comment.CommentItems; Thumbnail = null; Id = comment.Id; PostTime = comment.PostedAt.ToString("HH:mm:ss"); }
public MixerCommentViewModel(MixerSitePlugin.IMixerDisconnected disconnected, IMessageMetadata metadata, IMessageMethods methods, IConnectionStatus connectionStatus, IOptions options) : this(metadata, methods, connectionStatus, options) { _message = disconnected; MessageItems = Common.MessagePartFactory.CreateMessageItems(disconnected.Text); }