C# 클래스 Mite.MiteConfiguration

Configuration for data context
파일 보기 프로젝트 열기: ccellar/mite.net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ValidateUriScheme void

공개 메소드들

메소드 설명
MiteConfiguration ( Uri domain, string apiKey ) : System

Initializes a new instance of the MiteConfiguration class.

MiteConfiguration ( Uri domain, string user, string password ) : System

Initializes a new instance of the MiteConfiguration class.

ReadFromConfig ( ) : MiteConfiguration

Reads the configuration from the app.config or web.config.

비공개 메소드들

메소드 설명
ValidateUriScheme ( Uri uri ) : void

메소드 상세

MiteConfiguration() 공개 메소드

Initializes a new instance of the MiteConfiguration class.
public MiteConfiguration ( Uri domain, string apiKey ) : System
domain System.Uri The domain.
apiKey string The API key.
리턴 System

MiteConfiguration() 공개 메소드

Initializes a new instance of the MiteConfiguration class.
public MiteConfiguration ( Uri domain, string user, string password ) : System
domain System.Uri The domain.
user string The user.
password string The password.
리턴 System

ReadFromConfig() 공개 정적인 메소드

Reads the configuration from the app.config or web.config.
public static ReadFromConfig ( ) : MiteConfiguration
리턴 MiteConfiguration