namespace OliverBooth.Common.Data.Blog; /// /// Represents a comment that was posted on a legacy comment framework. /// public interface ILegacyComment { /// /// Gets the PNG-encoded avatar of the author. /// /// The author's avatar. string? Avatar { get; } /// /// Gets the name of the comment's author. /// /// The author's name. string Author { get; } /// /// Gets the body of the comment. /// /// The comment body. string Body { get; } /// /// Gets the date and time at which this comment was posted. /// /// The creation timestamp. DateTimeOffset CreatedAt { get; } /// /// Gets the ID of this comment. /// Guid Id { get; } /// /// Gets the ID of the comment this comment is replying to. /// /// The parent comment ID, or if this comment is not a reply. Guid? ParentComment { get; } /// /// Gets the ID of the post to which this comment was posted. /// /// The post ID. Guid PostId { get; } /// /// Gets the avatar URL of the comment's author. /// /// The avatar URL. string GetAvatarUrl(); }