C# Class CommonConcepts.Test.Helpers.MockConfiguration

Inheritance: IConfiguration
Afficher le fichier Open project: Rhetos/Rhetos Class Usage Examples

Méthodes publiques

Méthode Description
GetBool ( string key, bool defaultValue ) : Lazy
GetInt ( string key, int defaultValue ) : Lazy
MockConfiguration ( object>.Dictionary settings = null ) : System

Method Details

GetBool() public méthode

public GetBool ( string key, bool defaultValue ) : Lazy
key string
defaultValue bool
Résultat Lazy

GetInt() public méthode

public GetInt ( string key, int defaultValue ) : Lazy
key string
defaultValue int
Résultat Lazy

MockConfiguration() public méthode

public MockConfiguration ( object>.Dictionary settings = null ) : System
settings object>.Dictionary
Résultat System