C# Class HitProxy.Http.Html

Html string representation. Using this class it safe to mix html and strings. Strings are automatically escaped when combined with html.
Mostra file Open project: hultqvist/HitProxy Class Usage Examples

Public Properties

Property Type Description
HtmlString string

Public Methods

Method Description
Equals ( object obj ) : bool
Escape ( string text ) : Html
Format ( string html ) : Html
GetHashCode ( ) : int
Html ( ) : System
ToString ( ) : string
operator ( ) : Html

Private Methods

Method Description
Html ( string rawHtml ) : System

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Escape() public static method

public static Escape ( string text ) : Html
text string
return Html

Format() public static method

public static Format ( string html ) : Html
html string
return Html

GetHashCode() public method

public GetHashCode ( ) : int
return int

Html() public method

public Html ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : Html
return Html

Property Details

HtmlString public_oe property

public string HtmlString
return string