Class Utils
Assembly: Libplanet.Extensions.Cocona.dll
Syntax
public static class Utils
Fields
|
Improve this Doc
View Source
Declaration
public static readonly string DateTimeOffsetFormat
Field Value
Methods
|
Improve this Doc
View Source
DeserializeHumanReadable<T>(String)
Declaration
public static T DeserializeHumanReadable<T>(string target)
Parameters
Type |
Name |
Description |
String |
target |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Error(String, Int32)
Declaration
public static CommandExitedException Error(string message, int exitCode = 128)
Parameters
Returns
Type |
Description |
Cocona.CommandExitedException |
|
|
Improve this Doc
View Source
LoadStoreFromUri(String)
Declaration
public static IStore LoadStoreFromUri(string uriString)
Parameters
Type |
Name |
Description |
String |
uriString |
|
Returns
|
Improve this Doc
View Source
PrintTable<T1>((String), IEnumerable<(T1)>)
Declaration
public static void PrintTable<T1>((string) header, IEnumerable<(T1)> rows)
Parameters
Type Parameters
|
Improve this Doc
View Source
PrintTable<T1, T2>((String, String), IEnumerable<(T1, T2)>)
Declaration
public static void PrintTable<T1, T2>((string, string) header, IEnumerable<(T1, T2)> rows)
Parameters
Type Parameters
|
Improve this Doc
View Source
PrintTable<T1, T2, T3>((String, String, String), IEnumerable<(T1, T2, T3)>)
Declaration
public static void PrintTable<T1, T2, T3>((string, string, string) header, IEnumerable<(T1, T2, T3)> rows)
Parameters
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
|
Improve this Doc
View Source
PrintTable<T1, T2, T3, T4>((String, String, String, String), IEnumerable<(T1, T2, T3, T4)>)
Declaration
public static void PrintTable<T1, T2, T3, T4>((string, string, string, string) header, IEnumerable<(T1, T2, T3, T4)> rows)
Parameters
Type |
Name |
Description |
(T1 Item1, T2 Item2, T3 Item3, T4 Item4)<String, String, String, String> |
header |
|
IEnumerable<(T1 Item1, T2 Item2, T3 Item3, T4 Item4)<T1, T2, T3, T4>> |
rows |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
|
Improve this Doc
View Source
SerializeHumanReadable<T>(T)
Declaration
public static string SerializeHumanReadable<T>(T target)
Parameters
Type |
Name |
Description |
T |
target |
|
Returns
Type Parameters