C# Class Dependinator.Common.SettingsHandling.Private.SettingsService

Inheritance: ISettingsService
Afficher le fichier Open project: michael-reichenauer/Dependinator

Méthodes publiques

Méthode Description
Edit ( Action editAction ) : void
Edit ( string path, Action editAction ) : void
EnsureExists ( ) : void
Get ( ) : T
Get ( string path ) : T
GetFilePath ( ) : string
Set ( setting ) : void
Set ( string path, setting ) : void
SettingsService ( ModelMetadata folder ) : System

Private Methods

Méthode Description
GetProgramSettingsPath ( ) : string
GetSettingsFilePath ( string folderPath ) : string
GetWorkFolderSettingsPath ( ) : string
ParentFolderExists ( string path ) : bool
ReadAs ( string path ) : T
Set ( WorkFolderSettings settings ) : void
Set ( string path, WorkFolderSettings settings ) : void
TryReadFileText ( string path ) : string
WriteAs ( string path, obj ) : void
WriteFileText ( string path, string text ) : void

Method Details

Edit() public méthode

public Edit ( Action editAction ) : void
editAction Action
Résultat void

Edit() public méthode

public Edit ( string path, Action editAction ) : void
path string
editAction Action
Résultat void

EnsureExists() public méthode

public EnsureExists ( ) : void
Résultat void

Get() public méthode

public Get ( ) : T
Résultat T

Get() public méthode

public Get ( string path ) : T
path string
Résultat T

GetFilePath() public méthode

public GetFilePath ( ) : string
Résultat string

Set() public méthode

public Set ( setting ) : void
Résultat void

Set() public méthode

public Set ( string path, setting ) : void
path string
Résultat void

SettingsService() public méthode

public SettingsService ( ModelMetadata folder ) : System
folder ModelMetadata
Résultat System