C# Class CommonConcepts.Test.Helpers.MockConfiguration

Inheritance: IConfiguration
Show file Open project: Rhetos/Rhetos Class Usage Examples

Public Methods

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

Method Details

GetBool() public method

public GetBool ( string key, bool defaultValue ) : Lazy
key string
defaultValue bool
return Lazy

GetInt() public method

public GetInt ( string key, int defaultValue ) : Lazy
key string
defaultValue int
return Lazy

MockConfiguration() public method

public MockConfiguration ( object>.Dictionary settings = null ) : System
settings object>.Dictionary
return System