메소드 | 설명 | |
---|---|---|
AbsoluteRoot ( this Context ) : |
Returns the absolute root
|
|
AddScriptFile ( this Page, FileInfo File ) : void |
Adds a script file to the header of the current page
|
|
ContainsHTML ( this Input ) : bool |
Decides if the string contains HTML
|
|
HTTPCompress ( this Context, bool RemovePrettyPrinting = false, MinificationType Type = MinificationType.HTML ) : void |
Adds HTTP compression to the current context
|
|
IsEncodingAccepted ( this Context, string Encoding ) : bool |
Checks the request headers to see if the specified encoding is accepted by the client.
|
|
RemoveURLIllegalCharacters ( this Input ) : string |
Removes illegal characters (used in uri's, etc.)
|
|
SetEncoding ( this Context, string Encoding ) : void |
Adds the specified encoding to the response headers.
|
|
StripHTML ( this HTML ) : string |
Removes HTML elements from a string
|
|
URLDecode ( this Input ) : string |
URL decodes a string
|
|
URLEncode ( this Input ) : string |
URL encodes a string
|
메소드 | 설명 | |
---|---|---|
RelativeRoot ( this Context ) : string | ||
RemoveDiacritics ( string Input ) : string |
Removes special characters (Diacritics) from the string
|
|
RemoveExtraHyphen ( string Input ) : string |
Removes extra hyphens from a string
|
public static AbsoluteRoot ( this Context ) : |
||
Context | this | |
리턴 |
public static AddScriptFile ( this Page, FileInfo File ) : void | ||
Page | this | Page to add it to |
File | FileInfo | Script file |
리턴 | void |
public static ContainsHTML ( this Input ) : bool | ||
Input | this | Input string to check |
리턴 | bool |
public static HTTPCompress ( this Context, bool RemovePrettyPrinting = false, MinificationType Type = MinificationType.HTML ) : void | ||
Context | this | Current context |
RemovePrettyPrinting | bool | /// Sets the response filter to a special stream that removes pretty printing from content /// |
Type | MinificationType | /// The minification type to use (defaults to HTML if RemovePrettyPrinting is set to true, /// but can also deal with CSS and Javascript) /// |
리턴 | void |
public static IsEncodingAccepted ( this Context, string Encoding ) : bool | ||
Context | this | |
Encoding | string | |
리턴 | bool |
public static RemoveURLIllegalCharacters ( this Input ) : string | ||
Input | this | string to be converted |
리턴 | string |
public static SetEncoding ( this Context, string Encoding ) : void | ||
Context | this | Context to set the encoding on |
Encoding | string | Encoding to set |
리턴 | void |
public static StripHTML ( this HTML ) : string | ||
HTML | this | HTML laiden string |
리턴 | string |
public static URLDecode ( this Input ) : string | ||
Input | this | Input to decode |
리턴 | string |
public static URLEncode ( this Input ) : string | ||
Input | this | Input to encode |
리턴 | string |