This commit is contained in:
Zel
2025-02-24 21:09:37 +08:00
parent 7c66d080b2
commit 0a18353a5f
4 changed files with 53 additions and 52 deletions

View File

@@ -50,14 +50,15 @@ namespace ZelWiki.Engine
}
/// <summary>
/// 转换给定页面的内容.
/// 转换给定页面的内容
/// </summary>
/// <param name="session">The users current state, used for localization.</param>
/// <param name="page">The page that is being processed.</param>
/// <param name="revision">The revision of the page that is being processed.</param>
/// <param name="omitMatches">The type of matches that we want to omit from processing.</param>
/// <param name="session"></param>
/// <param name="page"></param>
/// <param name="revision"></param>
/// <param name="omitMatches"></param>
/// <returns></returns>
public IZelEngineState Transform(ISessionState? session, IPage page, int? revision = null, Constants.WikiMatchType[]? omitMatches = null)
public IZelEngineState Transform(ISessionState? session, IPage page, int? revision = null,
Constants.WikiMatchType[]? omitMatches = null)
=> new ZelEngineState(this, session, page, revision, omitMatches).Transform();
}
}
}