Show / Hide Table of Contents

Class Utils

Inheritance
Object
Utils
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Extensions.Cocona
Assembly: Libplanet.Extensions.Cocona.dll
Syntax
public static class Utils

Fields

| Improve this Doc View Source

DateTimeOffsetFormat

Declaration
public static readonly string DateTimeOffsetFormat
Field Value
Type Description
String

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 Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

Error(String, Int32)

Declaration
public static CommandExitedException Error(string message, int exitCode = 128)
Parameters
Type Name Description
String message
Int32 exitCode
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
Type Description
IStore
| Improve this Doc View Source

PrintTable<T1>((String), IEnumerable<(T1)>)

Declaration
public static void PrintTable<T1>((string) header, IEnumerable<(T1)> rows)
Parameters
Type Name Description
(T1 Item1)<String> header
IEnumerable<(T1 Item1)<T1>> rows
Type Parameters
Name Description
T1
| 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 Name Description
(T1 Item1, T2 Item2)<String, String> header
IEnumerable<(T1 Item1, T2 Item2)<T1, T2>> rows
Type Parameters
Name Description
T1
T2
| 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 Name Description
(T1 Item1, T2 Item2, T3 Item3)<String, String, String> header
IEnumerable<(T1 Item1, T2 Item2, T3 Item3)<T1, T2, T3>> rows
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 Description
String
Type Parameters
Name Description
T
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium