using System.Net.Http;
using System.Threading.Tasks;
namespace ReZero.SuperAPI
{
///
/// Default UI usage, not applicable for Vue front-end and back-end separation
///
public interface IUiManager
{
///
/// Retrieves the HTML content asynchronously.
///
/// The content of the file.
/// The path of the file.
/// The HTTP context.
/// The HTML content as a string.
Task GetHtmlAsync(string fileContent, string filePath, Microsoft.AspNetCore.Http.HttpContext content);
Task GetCustomPageHtmlAsync(string fileContent, string filePath, Microsoft.AspNetCore.Http.HttpContext content);
///
/// Checks if the file content represents a master page.
///
/// The content of the file.
/// True if the file content represents a master page, otherwise false.
bool IsMasterPage(string fileContent);
}
}