Files
blog.terrible.dev/src/TerribleDev.Blog.Web/Models/Post.cs
Tommy Parnell f300df90c1 lazyLoad (#13)
* lazy load posts
2021-10-18 21:48:08 -04:00

21 lines
611 B
C#

using Microsoft.AspNetCore.Html;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace TerribleDev.Blog.Web.Models
{
[DebuggerDisplay("{Title}")]
public class Post : IPost
{
public string CanonicalUrl { get; set; }
public string UrlWithoutPath { get; set; }
public string RelativeUrl { get; set; }
public string Title { get; set; }
public DateTime PublishDate { get; set; }
public IList<string> tags { get; set; }
public Lazy<IPostContent> Content { get; set; }
}
}