C# Class NuGet.Services.Operations.Utils

Exibir arquivo Open project: NuGet/NuGet.Operations

Public Methods

Method Description
GeneratePassword ( bool timestamped ) : string
GetAdminUserName ( Resource server, Datacenter dc ) : string
GetServerName ( Resource resource ) : string
GetServerName ( string dataSource ) : string

Method Details

GeneratePassword() public static method

public static GeneratePassword ( bool timestamped ) : string
timestamped bool
return string

GetAdminUserName() public static method

public static GetAdminUserName ( Resource server, Datacenter dc ) : string
server NuGet.Services.Operations.Model.Resource
dc NuGet.Services.Operations.Model.Datacenter
return string

GetServerName() public static method

public static GetServerName ( Resource resource ) : string
resource NuGet.Services.Operations.Model.Resource
return string

GetServerName() public static method

public static GetServerName ( string dataSource ) : string
dataSource string
return string