C# 클래스 CloudFoundry.Env.Current

Class containing static fields for interacting with environment variables provided by cloud foundry.
파일 보기 프로젝트 열기: cloudfoundry-community/dotnet-cfenv

공개 메소드들

메소드 설명
GetEnvVariable ( string key ) : string

Gives you a way to pull environment variables that aren't provided by this class in case future versions of the CLR use a different API to intereact with environment variables.

Kill ( ) : void

Casuses the app to crash

isRunningOnCloudFoundry ( ) : bool

비공개 메소드들

메소드 설명
Current ( ) : System
ParseApplication ( ) : void
ParseServices ( ) : void

메소드 상세

GetEnvVariable() 공개 정적인 메소드

Gives you a way to pull environment variables that aren't provided by this class in case future versions of the CLR use a different API to intereact with environment variables.
public static GetEnvVariable ( string key ) : string
key string The name of the environment variable you need.
리턴 string

Kill() 공개 정적인 메소드

Casuses the app to crash
public static Kill ( ) : void
리턴 void

isRunningOnCloudFoundry() 공개 정적인 메소드

public static isRunningOnCloudFoundry ( ) : bool
리턴 bool