C# Class Nett.Coma.FileConfig

Inheritance: IPersistableConfig
Afficher le fichier Open project: paiden/Nett Class Usage Examples

Private Properties

Свойство Type Description
ComputeHash byte[]
HashEquals bool

Méthodes publiques

Méthode Description
CanHandleSource ( IConfigSource source ) : bool
EnsureExists ( TomlTable content ) : bool
FileConfig ( FileConfigSource source ) : System.IO
Load ( ) : TomlTable
LoadSourcesTable ( ) : TomlTable
Save ( TomlTable config ) : void
TransformToSourceTable ( TomlTable toTransform ) : TomlTable
WasChangedExternally ( ) : bool

Private Methods

Méthode Description
ComputeHash ( string filePath ) : byte[]
HashEquals ( byte x, byte y ) : bool

Method Details

CanHandleSource() public méthode

public CanHandleSource ( IConfigSource source ) : bool
source IConfigSource
Résultat bool

EnsureExists() public méthode

public EnsureExists ( TomlTable content ) : bool
content TomlTable
Résultat bool

FileConfig() public méthode

public FileConfig ( FileConfigSource source ) : System.IO
source FileConfigSource
Résultat System.IO

Load() public méthode

public Load ( ) : TomlTable
Résultat TomlTable

LoadSourcesTable() public méthode

public LoadSourcesTable ( ) : TomlTable
Résultat TomlTable

Save() public méthode

public Save ( TomlTable config ) : void
config TomlTable
Résultat void

TransformToSourceTable() public méthode

public TransformToSourceTable ( TomlTable toTransform ) : TomlTable
toTransform TomlTable
Résultat TomlTable

WasChangedExternally() public méthode

public WasChangedExternally ( ) : bool
Résultat bool