C# 클래스 Elastacloud.AzureManagement.Fluent.Helpers.RandomAccountName

A class used to create a random name
파일 보기 프로젝트 열기: azurecoder/fluent-management 1 사용 예제들

공개 메소드들

메소드 설명
GetNameFromInitString ( string initString ) : string

Gets a name given an init string - name can be anything

GetPureRandomValue ( ) : string

Gets a pure random value for the name which will be 14 characters long

비공개 메소드들

메소드 설명
GenerateSeed ( string prefix ) : int

Generates a prefix int that can be used as a seed for different prefix values

GetName ( string name = "" ) : string

Gets a random name by iterating through random numbers and letters

메소드 상세

GetNameFromInitString() 공개 메소드

Gets a name given an init string - name can be anything
public GetNameFromInitString ( string initString ) : string
initString string Init string is a prefix for the name
리턴 string

GetPureRandomValue() 공개 메소드

Gets a pure random value for the name which will be 14 characters long
public GetPureRandomValue ( ) : string
리턴 string