Skip to main content

HtmlFormat

Assembly: ServiceStack.dll​
View Source​
Declaration
public class HtmlFormat : IPlugin, IHasStringId, IHasId<string>

Properties​

Id​

View Source​
Declaration
public string Id { get; set; }

PathTemplates​

View Source​
Declaration
public Dictionary<string, string> PathTemplates { get; set; }

ResolveTemplate​

View Source​
Declaration
public Func<IRequest, string> ResolveTemplate { get; set; }

Fields​

TitleFormat​

View Source​
Declaration
public static string TitleFormat

HtmlTitleFormat​

View Source​
Declaration
public static string HtmlTitleFormat

Humanize​

View Source​
Declaration
public static bool Humanize

Methods​

DefaultResolveTemplate(IRequest)​

View Source​
Declaration
public string DefaultResolveTemplate(IRequest req)
Returns​

System.String

Parameters​
TypeName
ServiceStack.Web.IRequestreq

Register(IAppHost)​

View Source​
Declaration
public void Register(IAppHost appHost)
Parameters​
TypeName
ServiceStack.IAppHostappHost

SerializeToStreamAsync(IRequest, Object, Stream)​

View Source​
Declaration
public async Task SerializeToStreamAsync(IRequest req, object response, Stream outputStream)
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
ServiceStack.Web.IRequestreq
System.Objectresponse
System.IO.StreamoutputStream

ReplaceTokens(String, IRequest)​

View Source​
Declaration
public static string ReplaceTokens(string html, IRequest req)
Returns​

System.String

Parameters​
TypeName
System.Stringhtml
ServiceStack.Web.IRequestreq

Implements​