C# Class Nett.Coma.FileConfig

Inheritance: IPersistableConfig
Mostra file Open project: paiden/Nett Class Usage Examples

Private Properties

Property Type Description
ComputeHash byte[]
HashEquals bool

Public Methods

Method 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

Method Description
ComputeHash ( string filePath ) : byte[]
HashEquals ( byte x, byte y ) : bool

Method Details

CanHandleSource() public method

public CanHandleSource ( IConfigSource source ) : bool
source IConfigSource
return bool

EnsureExists() public method

public EnsureExists ( TomlTable content ) : bool
content TomlTable
return bool

FileConfig() public method

public FileConfig ( FileConfigSource source ) : System.IO
source FileConfigSource
return System.IO

Load() public method

public Load ( ) : TomlTable
return TomlTable

LoadSourcesTable() public method

public LoadSourcesTable ( ) : TomlTable
return TomlTable

Save() public method

public Save ( TomlTable config ) : void
config TomlTable
return void

TransformToSourceTable() public method

public TransformToSourceTable ( TomlTable toTransform ) : TomlTable
toTransform TomlTable
return TomlTable

WasChangedExternally() public method

public WasChangedExternally ( ) : bool
return bool