public OpenrecCommentViewModel(OpenrecSitePlugin.IOpenrecStamp stamp, IMessageMetadata metadata, IMessageMethods methods, IConnectionStatus connectionStatus, IOptions options) : this(metadata, methods, connectionStatus, options) { _message = stamp; //_nameItems = stamp.NameItems; //MessageItems = stamp.CommentItems; //Thumbnail = stamp.UserIcon; //Id = stamp.Id.ToString(); //PostTime = stamp.PostTime; }
public OpenrecCommentViewModel(OpenrecSitePlugin.IOpenrecStamp stamp, IMessageMetadata metadata, IMessageMethods methods, IConnectionStatus connectionStatus, IOptions options) : this(metadata, methods, connectionStatus, options) { _message = stamp; _nameItems = stamp.NameItems; MessageItems = new List <IMessagePart> { stamp.Stamp }; Thumbnail = stamp.UserIcon; Id = stamp.Id.ToString(); PostTime = stamp.PostTime.ToString("HH:mm:ss"); }