C# Class Mite.MiteConfiguration

Configuration for data context
Afficher le fichier Open project: ccellar/mite.net Class Usage Examples

Private Properties

Свойство Type Description
ValidateUriScheme void

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ValidateUriScheme ( Uri uri ) : void

Method Details

MiteConfiguration() public méthode

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.
Résultat System

MiteConfiguration() public méthode

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.
Résultat System

ReadFromConfig() public static méthode

Reads the configuration from the app.config or web.config.
public static ReadFromConfig ( ) : MiteConfiguration
Résultat MiteConfiguration