C# 클래스 Microsoft.Azure.Commands.Insights.Utilities

Static class contaning common functions
파일 보기 프로젝트 열기: Azure/azure-powershell

공개 메소드들

메소드 설명
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