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

Extensions to the ToString methods to allow for indentation to be added when displying the results
Mostrar archivo Open project: Azure/azure-powershell

Public Methods

Method Description
AddSpacesInFront ( this output, int indentationTabs ) : StringBuilder

Add spaces into the string builder

ToString ( this inputString, bool localizedValue ) : string

A string representation of the Dimension including indentation

ToString ( this inputString, int indentationTabs ) : string

A string representation of the Dimension including indentation

ToString ( this notifications, int indentationTabs ) : string

A string representation of the list of AutoscaleNotification objects including indentation

ToString ( this profiles, int indentationTabs ) : string

A string representation of the list of AutoscaleProfile objects including indentation

ToString ( this metricAvailabilities, int indentationTabs ) : string

A string representation of the list of MetricAvailability objects including indentation

ToString ( this metricValues, int indentationTabs ) : string

A string representation of the list of PSMetricValue objects including indentation

ToString ( this actions, int indentationTabs ) : string

A string representation of the RuleMetricDataSource including indentation

ToString ( this scaleRules, int indentationTabs ) : string

A string representation of the list of ScaleRule objects including indentation

ToString ( this webhookNotifications, int indentationTabs ) : string

A string representation of the list of WebhookNotification objects including indentation

ToString ( string>.this dictionary, int indentationTabs ) : string

A string representation of the list of AutoscaleNotification objects including indentation

ToString ( this strings, int indentationTabs ) : string

A string representation of the list of string including indentation

Method Details

AddSpacesInFront() public static method

Add spaces into the string builder
public static AddSpacesInFront ( this output, int indentationTabs ) : StringBuilder
output this The string builder
indentationTabs int The number of tab chars to insert
return System.Text.StringBuilder

ToString() public static method

A string representation of the Dimension including indentation
public static ToString ( this inputString, bool localizedValue ) : string
inputString this The input string
localizedValue bool Flag to inidicate if the localized value must be printed or not
return string

ToString() public static method

A string representation of the Dimension including indentation
public static ToString ( this inputString, int indentationTabs ) : string
inputString this The input string
indentationTabs int The number of tab chars to insert
return string

ToString() public static method

A string representation of the list of AutoscaleNotification objects including indentation
public static ToString ( this notifications, int indentationTabs ) : string
notifications this The list of AutoscaleNotification objects
indentationTabs int The number of tabs to insert in front of each member
return string

ToString() public static method

A string representation of the list of AutoscaleProfile objects including indentation
public static ToString ( this profiles, int indentationTabs ) : string
profiles this The list of AutoscaleProfile objects
indentationTabs int The number of tabs to insert in front of each member
return string

ToString() public static method

A string representation of the list of MetricAvailability objects including indentation
public static ToString ( this metricAvailabilities, int indentationTabs ) : string
metricAvailabilities this The list of MetricAvailability objects
indentationTabs int The number of tabs to insert in front of each member
return string

ToString() public static method

A string representation of the list of PSMetricValue objects including indentation
public static ToString ( this metricValues, int indentationTabs ) : string
metricValues this The list of PSMetricValue objects
indentationTabs int The number of tabs to insert in front of each member
return string

ToString() public static method

A string representation of the RuleMetricDataSource including indentation
public static ToString ( this actions, int indentationTabs ) : string
actions this The RuleAction objects
indentationTabs int The number of tabs to insert in front of each member
return string

ToString() public static method

A string representation of the list of ScaleRule objects including indentation
public static ToString ( this scaleRules, int indentationTabs ) : string
scaleRules this The list of ScaleRule objects
indentationTabs int The number of tabs to insert in front of each member
return string

ToString() public static method

A string representation of the list of WebhookNotification objects including indentation
public static ToString ( this webhookNotifications, int indentationTabs ) : string
webhookNotifications this The list of WebhookNotification objects
indentationTabs int The number of tabs to insert in front of each member
return string

ToString() public static method

A string representation of the list of AutoscaleNotification objects including indentation
public static ToString ( string>.this dictionary, int indentationTabs ) : string
dictionary string>.this The 'string, string' dictionary object
indentationTabs int The number of tabs to insert in front of each member
return string

ToString() public static method

A string representation of the list of string including indentation
public static ToString ( this strings, int indentationTabs ) : string
strings this The list of string objects
indentationTabs int The number of tabs to insert in front of each member
return string