C# Class Codebreak.Framework.Configuration.Providers.JsonConfigurationProvider

Inheritance: IConfigurationProvider, ICommitableProvider
Show file Open project: hussein-aitlahcen/codebreak

Public Methods

Method Description
Commit ( ) : void

JsonConfigurationProvider ( string path ) : System

Load ( bool canCreate = true ) : void

Set ( string key, object value ) : void

TryGet ( string key, object &value ) : bool

Private Methods

Method Description
GenerateFile ( Stream outputStream ) : void

Method Details

Commit() public method

public Commit ( ) : void
return void

JsonConfigurationProvider() public method

public JsonConfigurationProvider ( string path ) : System
path string
return System

Load() public method

public Load ( bool canCreate = true ) : void
canCreate bool
return void

Set() public method

public Set ( string key, object value ) : void
key string
value object
return void

TryGet() public method

public TryGet ( string key, object &value ) : bool
key string
value object
return bool