C# 클래스 NuGet.Services.BasicSearch.SafeRoleEnvironment

Safe role environment which allows this application to be run on both Azure Cloud Services and Azure Web Sites.
파일 보기 프로젝트 열기: NuGet/NuGet.Services.Metadata 1 사용 예제들

공개 메소드들

메소드 설명
GetConfigurationSettingValue ( string configurationSettingName ) : string

Delegate the call because we don't want RoleEnvironment appearing in the function scope of the caller because that would trigger the assembly load: teh very thing we are attempting to avoid

비공개 메소드들

메소드 설명
GetServiceRuntimeAssembly ( ) : Assembly

Loads and returns the latest available version of the service runtime assembly.

SafeRoleEnvironment ( ) : Microsoft.WindowsAzure.ServiceRuntime

메소드 상세

GetConfigurationSettingValue() 공개 정적인 메소드

Delegate the call because we don't want RoleEnvironment appearing in the function scope of the caller because that would trigger the assembly load: teh very thing we are attempting to avoid
public static GetConfigurationSettingValue ( string configurationSettingName ) : string
configurationSettingName string
리턴 string