添加项目文件。
This commit is contained in:
20
TightWiki.Models/DataModels/PageCache.cs
Normal file
20
TightWiki.Models/DataModels/PageCache.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace TightWiki.Models.DataModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Used to cache pre-processed wiki results.
|
||||
/// </summary>
|
||||
public class PageCache
|
||||
{
|
||||
/// <summary>
|
||||
/// Custom page title set by a call to @@Title("...")
|
||||
/// </summary>
|
||||
public string? PageTitle { get; set; }
|
||||
public string Body { get; set; }
|
||||
|
||||
public PageCache(string body)
|
||||
{
|
||||
Body = body;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user