C# Класс Microsoft.Azure.Commands.Insights.Utilities

Static class contaning common functions
Показать файл Открыть проект

Открытые методы

Метод Описание
ExtractCollectionFromResult ( this enumerator, bool fullDetails, List records, bool>.Func keepTheRecord ) : void
GetCurrentDllFileVersion ( ) : string

Gets the file version of the currently (executing) dll.

GetDefaultDescription ( string artifactName ) : string

Gets a string with a default description for artifacts like alert rules or autoscale settings

ValidateUri ( string uri, string argName = "Uri" ) : void

Checks if the given string represents a valid uri

Описание методов

ExtractCollectionFromResult() публичный статический Метод

public static ExtractCollectionFromResult ( this enumerator, bool fullDetails, List records, bool>.Func keepTheRecord ) : void
enumerator this
fullDetails bool
records List
keepTheRecord bool>.Func
Результат void

GetCurrentDllFileVersion() публичный статический Метод

Gets the file version of the currently (executing) dll.
public static GetCurrentDllFileVersion ( ) : string
Результат string

GetDefaultDescription() публичный статический Метод

Gets a string with a default description for artifacts like alert rules or autoscale settings
public static GetDefaultDescription ( string artifactName ) : string
artifactName string The name of the artifact to deacribe, e.g.: alert rule, autoscale setting
Результат string

ValidateUri() публичный статический Метод

Checks if the given string represents a valid uri
public static ValidateUri ( string uri, string argName = "Uri" ) : void
uri string The string representing a uri
argName string The name of the argument to report as invalid
Результат void