C# Class Microsoft.Azure.Commands.Insights.OutputClasses.CustomPrinter

Show file Open project: Azure/azure-powershell

Public Methods

Method Description
AppendRepeated ( this sb, char c, int count ) : void
Print ( object obj ) : string

Customized printing for the result of the powershell commands. It opens all the nested properties and collection elements.

Private Methods

Method Description
Print ( object obj, string name, string currentIndent, StringBuilder sb ) : void

Method Details

AppendRepeated() public static method

public static AppendRepeated ( this sb, char c, int count ) : void
sb this
c char
count int
return void

Print() public static method

Customized printing for the result of the powershell commands. It opens all the nested properties and collection elements.
public static Print ( object obj ) : string
obj object The object
return string