我滴个乖乖
This commit is contained in:
21
ZelWiki.Engine.Library/Interfaces/IInternalLinkHandler.cs
Normal file
21
ZelWiki.Engine.Library/Interfaces/IInternalLinkHandler.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using ZelWiki.Library;
|
||||
|
||||
namespace ZelWiki.Engine.Library.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Handles links from one wiki page to another.
|
||||
/// </summary>
|
||||
public interface IInternalLinkHandler
|
||||
{
|
||||
/// <summary>
|
||||
/// Handles an internal wiki link.
|
||||
/// </summary>
|
||||
/// <param name="state">Reference to the wiki state object</param>
|
||||
/// <param name="pageNavigation">The navigation for the linked page.</param>
|
||||
/// <param name="pageName">The name of the page being linked to.</param>
|
||||
/// <param name="linkText">The text which should be show in the absence of an image.</param>
|
||||
/// <param name="image">The image that should be shown.</param>
|
||||
/// <param name="imageScale">The 0-100 image scale factor for the given image.</param>
|
||||
public HandlerResult Handle(IZelEngineState state, NamespaceNavigation pageNavigation, string pageName, string linkText, string? image, int imageScale);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user