using TightWiki.Library;
namespace TightWiki.Engine.Library.Interfaces
{
///
/// Handles links from one wiki page to another.
///
public interface IInternalLinkHandler
{
///
/// Handles an internal wiki link.
///
/// Reference to the wiki state object
/// The navigation for the linked page.
/// The name of the page being linked to.
/// The text which should be show in the absence of an image.
/// The image that should be shown.
/// The 0-100 image scale factor for the given image.
public HandlerResult Handle(ITightEngineState state, NamespaceNavigation pageNavigation, string pageName, string linkText, string? image, int imageScale);
}
}