C# Class Onshape.Api.ConsoleApp.Extensions

Mostrar archivo Open project: onshape-public/app-windows-sample

Public Methods

Method Description
AlignCenter ( this text, int width ) : string
GetOptionValue ( this options, string name ) : string
PadCenter ( this text, int width ) : string
Print ( this plans ) : void
Print ( this documents ) : void
Print ( this purchases ) : void
PrintAsTable ( String>.this map ) : void
PrintAsTable ( this rows, int columnWidthMin, int columnWidthMax, string rowFormat, string headers ) : void
Shorten ( this text, int width ) : string

Method Details

AlignCenter() public static method

public static AlignCenter ( this text, int width ) : string
text this
width int
return string

GetOptionValue() public static method

public static GetOptionValue ( this options, string name ) : string
options this
name string
return string

PadCenter() public static method

public static PadCenter ( this text, int width ) : string
text this
width int
return string

Print() public static method

public static Print ( this plans ) : void
plans this
return void

Print() public static method

public static Print ( this documents ) : void
documents this
return void

Print() public static method

public static Print ( this purchases ) : void
purchases this
return void

PrintAsTable() public static method

public static PrintAsTable ( String>.this map ) : void
map String>.this
return void

PrintAsTable() public static method

public static PrintAsTable ( this rows, int columnWidthMin, int columnWidthMax, string rowFormat, string headers ) : void
rows this
columnWidthMin int
columnWidthMax int
rowFormat string
headers string
return void

Shorten() public static method

public static Shorten ( this text, int width ) : string
text this
width int
return string