C# Class Pluton.StringExtensions

Datei anzeigen Open project: Notulp/Pluton Class Usage Examples

Public Methods

Method Description
BoldText ( this self ) : string
ColorText ( this self, string color ) : string
ItalicText ( this self ) : string
JsonPretty ( this self, string indent = "\t" ) : string
Multiply ( this self, int multiply ) : string
QuoteSafe ( this self ) : string
SetSize ( this self, int size ) : string
SetSize ( this self, string size ) : string

Private Methods

Method Description
yieldPretty ( this json, string indent ) : IEnumerable

Method Details

BoldText() public static method

public static BoldText ( this self ) : string
self this
return string

ColorText() public static method

public static ColorText ( this self, string color ) : string
self this
color string
return string

ItalicText() public static method

public static ItalicText ( this self ) : string
self this
return string

JsonPretty() public static method

public static JsonPretty ( this self, string indent = "\t" ) : string
self this
indent string
return string

Multiply() public static method

public static Multiply ( this self, int multiply ) : string
self this
multiply int
return string

QuoteSafe() public static method

public static QuoteSafe ( this self ) : string
self this
return string

SetSize() public static method

public static SetSize ( this self, int size ) : string
self this
size int
return string

SetSize() public static method

public static SetSize ( this self, string size ) : string
self this
size string
return string