Skip to main content

HtmlTextFragment

Assembly: ServiceStack.dll​
View Source​
Declaration
public class HtmlTextFragment : IHtmlModuleFragment

Properties​

Text​

View Source​
Declaration
public ReadOnlyMemory<char> Text { get; }

TextUtf8​

View Source​
Declaration
public ReadOnlyMemory<byte> TextUtf8 { get; }

Methods​

WriteToAsync(HtmlModuleContext, Stream, CancellationToken)​

View Source​
Declaration
public async Task WriteToAsync(HtmlModuleContext ctx, Stream responseStream, CancellationToken token = default(CancellationToken))
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
ServiceStack.HtmlModuleContextctx
System.IO.StreamresponseStream
System.Threading.CancellationTokentoken

Implements​