C# 클래스 NuGet.Services.Operations.OperationsSession

파일 보기 프로젝트 열기: NuGet/NuGet.Operations 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AppModelEnvironmentVariableName string
CurrentEnvironmentVariableName string

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Load ( string serviceModel ) : OperationsSession

Loads an operations session using the ServiceModel file located at the specified path

Load ( string serviceModel, string azureTokenStore ) : OperationsSession

Loads an operations session using the ServiceModel file located at the specified path

LoadFromEnvironment ( ) : OperationsSession

Loads an operations session using the current value of the NUGET_APP_MODEL environment variable, if present

OperationsSession ( AppModel model, AzureTokenManager azureTokens ) : System
SetCurrentEnvironment ( string name ) : void
SetCurrentEnvironment ( string name, bool throwOnFailure ) : void
this ( string environmentName ) : DeploymentEnvironment

메소드 상세

Load() 공개 정적인 메소드

Loads an operations session using the ServiceModel file located at the specified path
public static Load ( string serviceModel ) : OperationsSession
serviceModel string The path to the service model file
리턴 OperationsSession

Load() 공개 정적인 메소드

Loads an operations session using the ServiceModel file located at the specified path
public static Load ( string serviceModel, string azureTokenStore ) : OperationsSession
serviceModel string The path to the service model file
azureTokenStore string
리턴 OperationsSession

LoadFromEnvironment() 공개 정적인 메소드

Loads an operations session using the current value of the NUGET_APP_MODEL environment variable, if present
The NUGET_APP_MODEL environment variable is empty or refers to a directory that does not exist
public static LoadFromEnvironment ( ) : OperationsSession
리턴 OperationsSession

OperationsSession() 공개 메소드

public OperationsSession ( AppModel model, AzureTokenManager azureTokens ) : System
model NuGet.Services.Operations.Model.AppModel
azureTokens AzureTokenManager
리턴 System

SetCurrentEnvironment() 공개 메소드

public SetCurrentEnvironment ( string name ) : void
name string
리턴 void

SetCurrentEnvironment() 공개 메소드

public SetCurrentEnvironment ( string name, bool throwOnFailure ) : void
name string
throwOnFailure bool
리턴 void

this() 공개 메소드

public this ( string environmentName ) : DeploymentEnvironment
environmentName string
리턴 NuGet.Services.Operations.Model.DeploymentEnvironment

프로퍼티 상세

AppModelEnvironmentVariableName 공개적으로 정적으로 프로퍼티

public static string AppModelEnvironmentVariableName
리턴 string

CurrentEnvironmentVariableName 공개적으로 정적으로 프로퍼티

public static string CurrentEnvironmentVariableName
리턴 string