This commit is contained in:
Zel
2025-02-23 18:47:21 +08:00
parent eaaffeeccb
commit e46a7ca31c
104 changed files with 2630 additions and 2516 deletions

View File

@@ -1,20 +1,20 @@
namespace ZelWiki.Models.DataModels
{
/// <summary>
/// Used to cache pre-processed wiki results.
/// 用于缓存预处理的结果
/// </summary>
public class PageCache
{
public PageCache(string body)
{
Body = body;
}
/// <summary>
/// Custom page title set by a call to @@Title("...")
/// 通过调用@@Title("...")设置自定义页面title
/// </summary>
public string? PageTitle { get; set; }
public string Body { get; set; }
public PageCache(string body)
{
Body = body;
}
}
}