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

Inheritance: IConfigurationProvider, ICommitableProvider
Afficher le fichier Open project: hussein-aitlahcen/codebreak

Méthodes publiques

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

Méthode Description
GenerateFile ( Stream outputStream ) : void

Method Details

Commit() public méthode

public Commit ( ) : void
Résultat void

JsonConfigurationProvider() public méthode

public JsonConfigurationProvider ( string path ) : System
path string
Résultat System

Load() public méthode

public Load ( bool canCreate = true ) : void
canCreate bool
Résultat void

Set() public méthode

public Set ( string key, object value ) : void
key string
value object
Résultat void

TryGet() public méthode

public TryGet ( string key, object &value ) : bool
key string
value object
Résultat bool