C# 클래스 CSharpTradeOffers.Configuration.JsonConfigHandler

Generic config file handler
파일 보기 프로젝트 열기: FatherFoxxy/CSharpTradeOffers

공개 메소드들

메소드 설명
Reload ( DefaultConfig config ) : DefaultConfig

Reloads the configuration file (path). If file is not present, it will generate a new one.

WriteChanges ( DefaultConfig towrite ) : void

Writes the changes made to the config.

메소드 상세

Reload() 공개 메소드

Reloads the configuration file (path). If file is not present, it will generate a new one.
public Reload ( DefaultConfig config ) : DefaultConfig
config DefaultConfig
리턴 DefaultConfig

WriteChanges() 공개 메소드

Writes the changes made to the config.
public WriteChanges ( DefaultConfig towrite ) : void
towrite DefaultConfig
리턴 void