Class InfoBoxDateColor
Info box writer with date and color support
Inheritance
object
InfoBoxDateColor
Namespace: Terminaux.Inputs.Styles.Infobox
Assembly: Terminaux.dll
Syntax
public static class InfoBoxDateColor
Methods
| Edit this page View SourceWriteInfoBoxDate(DateTimeOffset, string, params object[])
Writes the date info box
Declaration
public static DateTimeOffset WriteInfoBoxDate(DateTimeOffset initialDate, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
DateTimeOffset | initialDate | Initial date |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
DateTimeOffset |
WriteInfoBoxDate(DateTimeOffset, string, InfoBoxSettings, params object[])
Writes the date info box
Declaration
public static DateTimeOffset WriteInfoBoxDate(DateTimeOffset initialDate, string text, InfoBoxSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
DateTimeOffset | initialDate | Initial date |
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 |