C# 클래스 Fusion.Core.Configuration.ConfigSerializer

Saves and loads configuration to file. Note on multi-threading: Be sure that all structure properties larger than 4 (32-bit) or 8 (64-bit) bytes in config classes have lock on set and get.
파일 보기 프로젝트 열기: demiurghg/FusionEngine

공개 메소드들

메소드 설명
GetConfigPath ( string fileName ) : string

GetConfigVariables ( IEnumerable bindings ) : IEnumerable

LoadFromStream ( IEnumerable bindings, Stream stream ) : void

SaveToStream ( IEnumerable bindings, Stream stream ) : void

메소드 상세

GetConfigPath() 공개 정적인 메소드

public static GetConfigPath ( string fileName ) : string
fileName string
리턴 string

GetConfigVariables() 공개 정적인 메소드

public static GetConfigVariables ( IEnumerable bindings ) : IEnumerable
bindings IEnumerable
리턴 IEnumerable

LoadFromStream() 공개 정적인 메소드

public static LoadFromStream ( IEnumerable bindings, Stream stream ) : void
bindings IEnumerable
stream Stream
리턴 void

SaveToStream() 공개 정적인 메소드

public static SaveToStream ( IEnumerable bindings, Stream stream ) : void
bindings IEnumerable
stream Stream
리턴 void