C# 클래스 Microsoft.AspNet.WebHooks.Config.DefaultSettingsProvider

Provides a default SettingsDictionary based on application settings from the global ConfigurationManager.
파일 보기 프로젝트 열기: aspnet/WebHooks 1 사용 예제들

공개 메소드들

메소드 설명
DefaultSettingsProvider ( ) : System

Initializes a new instance of the DefaultSettingsProvider class.

GetSettings ( ) : SettingsDictionary

Initializes a SettingsDictionary instance using application settings.

보호된 메소드들

메소드 설명
GetAppSettings ( ) : NameValueCollection

Gets the current application settings in a mock-able manner.

InitializeSettings ( ) : SettingsDictionary

Initializes the SettingsDictionary provided in response to GetSettings.

메소드 상세

DefaultSettingsProvider() 공개 메소드

Initializes a new instance of the DefaultSettingsProvider class.
public DefaultSettingsProvider ( ) : System
리턴 System

GetAppSettings() 보호된 메소드

Gets the current application settings in a mock-able manner.
protected GetAppSettings ( ) : NameValueCollection
리턴 System.Collections.Specialized.NameValueCollection

GetSettings() 공개 메소드

Initializes a SettingsDictionary instance using application settings.
public GetSettings ( ) : SettingsDictionary
리턴 SettingsDictionary

InitializeSettings() 보호된 메소드

Initializes the SettingsDictionary provided in response to GetSettings.
protected InitializeSettings ( ) : SettingsDictionary
리턴 SettingsDictionary