C# Class Microsoft.AspNetCore.Html.HtmlFormattableString

Inheritance: IHtmlContent
Exibir arquivo Open project: aspnet/HtmlAbstractions Class Usage Examples

Public Methods

Method Description
HtmlFormattableString ( IFormatProvider formatProvider, string format ) : System

Creates a new HtmlFormattableString with the given formatProvider, format and args.

HtmlFormattableString ( string format ) : System

Creates a new HtmlFormattableString with the given format and args.

WriteTo ( TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder ) : void

Private Methods

Method Description
DebuggerToString ( ) : string

Method Details

HtmlFormattableString() public method

Creates a new HtmlFormattableString with the given formatProvider, format and args.
public HtmlFormattableString ( IFormatProvider formatProvider, string format ) : System
formatProvider IFormatProvider An object that provides culture-specific formatting information.
format string A composite format string.
return System

HtmlFormattableString() public method

Creates a new HtmlFormattableString with the given format and args.
public HtmlFormattableString ( string format ) : System
format string A composite format string.
return System

WriteTo() public method

public WriteTo ( TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder ) : void
writer System.IO.TextWriter
encoder System.Text.Encodings.Web.HtmlEncoder
return void