C# 클래스 Treasury.Config

파일 보기 프로젝트 열기: NyxStudios/Treasury

공개 메소드들

메소드 설명
Read ( Stream stream ) : ConfigFile

Reads the configuration file from a stream

Read ( string path ) : ConfigFile

Reads a configuration file from a given path

Write ( Stream stream ) : void

Writes the configuration to a stream

Write ( string path ) : void

Writes the configuration to a given path

메소드 상세

Read() 공개 정적인 메소드

Reads the configuration file from a stream
public static Read ( Stream stream ) : ConfigFile
stream Stream stream
리턴 TShockAPI.ConfigFile

Read() 공개 정적인 메소드

Reads a configuration file from a given path
public static Read ( string path ) : ConfigFile
path string string path
리턴 TShockAPI.ConfigFile

Write() 공개 메소드

Writes the configuration to a stream
public Write ( Stream stream ) : void
stream Stream stream
리턴 void

Write() 공개 메소드

Writes the configuration to a given path
public Write ( string path ) : void
path string string path - Location to put the config file
리턴 void