Property | Type | Description | |
---|---|---|---|
Root | string | ||
SearchBarValue | string | ||
SpecificCulture | |||
Title | string |
Method | Description | |
---|---|---|
BF2PageModel ( HttpClient Client ) : System | ||
FormatDate ( int Time ) : string |
Takes a timestamp and converts it to a data format that was used in BF2sClone
|
|
FormatNumber ( object Time ) : string |
Formats an integer timestamp to a timespan format that was used in BF2sClone
|
|
FormatTime ( double Time ) : string |
Formats an integer timestamp to a timespan format that was used in BF2sClone
|
|
Write ( string contents ) : string |
Writes the plain contents to the template
|
|
WriteIf ( string contents, bool condition ) : string |
Returns a string in the contents variable if the condition is met
|
|
WriteIfElse ( bool condition, string trueValue, string falseValue ) : string |
Returns a string based on the value of the condition variable
|
public BF2PageModel ( HttpClient Client ) : System | ||
Client | HttpClient | |
return | System |
public Write ( string contents ) : string | ||
contents | string | The contents to be written |
return | string |
public WriteIf ( string contents, bool condition ) : string | ||
contents | string | The contents to be returned if the condition is met |
condition | bool | a bool indicating whether the condition is met |
return | string |
public WriteIfElse ( bool condition, string trueValue, string falseValue ) : string | ||
condition | bool | a bool indicating whether the condition is met |
trueValue | string | The value to return if the condition is met |
falseValue | string | The value to return if the condition is NOT met |
return | string |
public static CultureInfo,System.Globalization SpecificCulture | ||
return |