Class ListWriterColor
List writer with color support
Inheritance
Namespace: Terminaux.Writer.ConsoleWriters
Assembly: Terminaux.dll
Syntax
public static class ListWriterColor
Methods
| Edit this page View SourceRenderList(IDictionary)
Renders the list entries.
Declaration
public static string RenderList(IDictionary List)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | List | A dictionary that will be listed. |
Returns
Type | Description |
---|---|
string |
RenderList(IDictionary, Color, Color)
Renders the list entries.
Declaration
public static string RenderList(IDictionary List, Color ListKeyColor, Color ListValueColor)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | List | A dictionary that will be listed. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
Returns
Type | Description |
---|---|
string |
RenderList(IEnumerable)
Renders the list entries.
Declaration
public static string RenderList(IEnumerable List)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | List | A dictionary that will be listed. |
Returns
Type | Description |
---|---|
string |
RenderList(IEnumerable, Color, Color)
Renders the list entries.
Declaration
public static string RenderList(IEnumerable List, Color ListKeyColor, Color ListValueColor)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | List | A dictionary that will be listed. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
Returns
Type | Description |
---|---|
string |
RenderList<T>(IEnumerable<T>)
Renders the list entries.
Declaration
public static string RenderList<T>(IEnumerable<T> List)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | List | A dictionary that will be listed. |
Returns
Type | Description |
---|---|
string |
Type Parameters
Name | Description |
---|---|
T |
RenderList<T>(IEnumerable<T>, Color, Color)
Renders the list entries.
Declaration
public static string RenderList<T>(IEnumerable<T> List, Color ListKeyColor, Color ListValueColor)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | List | A dictionary that will be listed. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
Returns
Type | Description |
---|---|
string |
Type Parameters
Name | Description |
---|---|
T |
RenderList<TKey, TValue>(Dictionary<TKey, TValue>)
Renders the list entries.
Declaration
public static string RenderList<TKey, TValue>(Dictionary<TKey, TValue> List)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<TKey, TValue> | List | A dictionary that will be listed. |
Returns
Type | Description |
---|---|
string |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
RenderList<TKey, TValue>(Dictionary<TKey, TValue>, Color, Color)
Renders the list entries.
Declaration
public static string RenderList<TKey, TValue>(Dictionary<TKey, TValue> List, Color ListKeyColor, Color ListValueColor)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<TKey, TValue> | List | A dictionary that will be listed. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
Returns
Type | Description |
---|---|
string |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
WriteList(IDictionary)
Outputs the list entries into the terminal prompt. It wraps output depending on the kernel settings.
Declaration
public static void WriteList(IDictionary List)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | List | A dictionary that will be listed to the terminal prompt. |
WriteList(IDictionary, bool)
Outputs the list entries into the terminal prompt, and wraps output if needed.
Declaration
public static void WriteList(IDictionary List, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | List | A dictionary that will be listed to the terminal prompt. |
bool | Wrap | Wraps the output as needed. |
WriteList(IDictionary, Color, Color)
Outputs the text into the terminal prompt with custom color support.
Declaration
public static void WriteList(IDictionary List, Color ListKeyColor, Color ListValueColor)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | List | A dictionary that will be listed to the terminal prompt. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
WriteList(IDictionary, Color, Color, bool)
Outputs the text into the terminal prompt with custom color support.
Declaration
public static void WriteList(IDictionary List, Color ListKeyColor, Color ListValueColor, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | List | A dictionary that will be listed to the terminal prompt. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
bool | Wrap | Wraps the output as needed. |
WriteList(IEnumerable)
Outputs the list entries into the terminal prompt. It wraps output depending on the kernel settings.
Declaration
public static void WriteList(IEnumerable List)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | List | A dictionary that will be listed to the terminal prompt. |
WriteList(IEnumerable, bool)
Outputs the list entries into the terminal prompt, and wraps output if needed.
Declaration
public static void WriteList(IEnumerable List, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | List | A dictionary that will be listed to the terminal prompt. |
bool | Wrap | Wraps the output as needed. |
WriteList(IEnumerable, Color, Color)
Outputs the text into the terminal prompt with custom color support.
Declaration
public static void WriteList(IEnumerable List, Color ListKeyColor, Color ListValueColor)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | List | A dictionary that will be listed to the terminal prompt. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
WriteList(IEnumerable, Color, Color, bool)
Outputs the text into the terminal prompt with custom color support.
Declaration
public static void WriteList(IEnumerable List, Color ListKeyColor, Color ListValueColor, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | List | A dictionary that will be listed to the terminal prompt. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
bool | Wrap | Wraps the output as needed. |
WriteListPlain(IDictionary)
Outputs the list entries into the terminal prompt plainly. It wraps output depending on the kernel settings.
Declaration
public static void WriteListPlain(IDictionary List)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | List | A dictionary that will be listed to the terminal prompt. |
WriteListPlain(IDictionary, bool)
Outputs the list entries into the terminal prompt plainly, and wraps output if needed.
Declaration
public static void WriteListPlain(IDictionary List, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | List | A dictionary that will be listed to the terminal prompt. |
bool | Wrap | Wraps the output as needed. |
WriteListPlain(IEnumerable)
Outputs the list entries into the terminal prompt plainly. It wraps output depending on the kernel settings.
Declaration
public static void WriteListPlain(IEnumerable List)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | List | A dictionary that will be listed to the terminal prompt. |
WriteListPlain(IEnumerable, bool)
Outputs the list entries into the terminal prompt plainly, and wraps output if needed.
Declaration
public static void WriteListPlain(IEnumerable List, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | List | A dictionary that will be listed to the terminal prompt. |
bool | Wrap | Wraps the output as needed. |
WriteListPlain<T>(IEnumerable<T>)
Outputs the list entries into the terminal prompt plainly. It wraps output depending on the kernel settings.
Declaration
public static void WriteListPlain<T>(IEnumerable<T> List)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | List | A dictionary that will be listed to the terminal prompt. |
Type Parameters
Name | Description |
---|---|
T |
WriteListPlain<T>(IEnumerable<T>, bool)
Outputs the list entries into the terminal prompt plainly, and wraps output if needed.
Declaration
public static void WriteListPlain<T>(IEnumerable<T> List, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | List | A dictionary that will be listed to the terminal prompt. |
bool | Wrap | Wraps the output as needed. |
Type Parameters
Name | Description |
---|---|
T |
WriteListPlain<TKey, TValue>(Dictionary<TKey, TValue>)
Outputs the list entries into the terminal prompt plainly. It wraps output depending on the kernel settings.
Declaration
public static void WriteListPlain<TKey, TValue>(Dictionary<TKey, TValue> List)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<TKey, TValue> | List | A dictionary that will be listed to the terminal prompt. |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
WriteListPlain<TKey, TValue>(Dictionary<TKey, TValue>, bool)
Outputs the list entries into the terminal prompt plainly, and wraps output if needed.
Declaration
public static void WriteListPlain<TKey, TValue>(Dictionary<TKey, TValue> List, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<TKey, TValue> | List | A dictionary that will be listed to the terminal prompt. |
bool | Wrap | Wraps the output as needed. |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
WriteList<T>(IEnumerable<T>)
Outputs the list entries into the terminal prompt. It wraps output depending on the kernel settings.
Declaration
public static void WriteList<T>(IEnumerable<T> List)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | List | A dictionary that will be listed to the terminal prompt. |
Type Parameters
Name | Description |
---|---|
T |
WriteList<T>(IEnumerable<T>, bool)
Outputs the list entries into the terminal prompt, and wraps output if needed.
Declaration
public static void WriteList<T>(IEnumerable<T> List, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | List | A dictionary that will be listed to the terminal prompt. |
bool | Wrap | Wraps the output as needed. |
Type Parameters
Name | Description |
---|---|
T |
WriteList<T>(IEnumerable<T>, Color, Color)
Outputs the text into the terminal prompt with custom color support.
Declaration
public static void WriteList<T>(IEnumerable<T> List, Color ListKeyColor, Color ListValueColor)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | List | A dictionary that will be listed to the terminal prompt. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
Type Parameters
Name | Description |
---|---|
T |
WriteList<T>(IEnumerable<T>, Color, Color, bool)
Outputs the text into the terminal prompt with custom color support.
Declaration
public static void WriteList<T>(IEnumerable<T> List, Color ListKeyColor, Color ListValueColor, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | List | A dictionary that will be listed to the terminal prompt. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
bool | Wrap | Wraps the output as needed. |
Type Parameters
Name | Description |
---|---|
T |
WriteList<TKey, TValue>(Dictionary<TKey, TValue>)
Outputs the list entries into the terminal prompt. It wraps output depending on the kernel settings.
Declaration
public static void WriteList<TKey, TValue>(Dictionary<TKey, TValue> List)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<TKey, TValue> | List | A dictionary that will be listed to the terminal prompt. |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
WriteList<TKey, TValue>(Dictionary<TKey, TValue>, bool)
Outputs the list entries into the terminal prompt, and wraps output if needed.
Declaration
public static void WriteList<TKey, TValue>(Dictionary<TKey, TValue> List, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<TKey, TValue> | List | A dictionary that will be listed to the terminal prompt. |
bool | Wrap | Wraps the output as needed. |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
WriteList<TKey, TValue>(Dictionary<TKey, TValue>, Color, Color)
Outputs the text into the terminal prompt with custom color support.
Declaration
public static void WriteList<TKey, TValue>(Dictionary<TKey, TValue> List, Color ListKeyColor, Color ListValueColor)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<TKey, TValue> | List | A dictionary that will be listed to the terminal prompt. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
WriteList<TKey, TValue>(Dictionary<TKey, TValue>, Color, Color, bool)
Outputs the text into the terminal prompt with custom color support.
Declaration
public static void WriteList<TKey, TValue>(Dictionary<TKey, TValue> List, Color ListKeyColor, Color ListValueColor, bool Wrap)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<TKey, TValue> | List | A dictionary that will be listed to the terminal prompt. |
Color | ListKeyColor | A key color. |
Color | ListValueColor | A value color. |
bool | Wrap | Wraps the output as needed. |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |