Class InfoBoxTimeColor
Info box writer with time and color support
Inheritance
object
InfoBoxTimeColor
Namespace: Terminaux.Inputs.Styles.Infobox
Assembly: Terminaux.dll
Syntax
public static class InfoBoxTimeColor
Methods
| Edit this page View SourceWriteInfoBoxTime(DateTimeOffset, string, params object[])
Writes the time info box
Declaration
public static DateTimeOffset WriteInfoBoxTime(DateTimeOffset initialTime, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
DateTimeOffset | initialTime | Initial time |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
DateTimeOffset |
WriteInfoBoxTime(DateTimeOffset, string, InfoBoxSettings, params object[])
Writes the time info box
Declaration
public static DateTimeOffset WriteInfoBoxTime(DateTimeOffset initialTime, string text, InfoBoxSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
DateTimeOffset | initialTime | Initial time |
string | text | Text to be written. |
InfoBoxSettings | settings | Infobox settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
DateTimeOffset |