C# Class Atmo.Data.PersistentState

Datei anzeigen Open project: wind101net/atmo Class Usage Examples

Private Properties

Property Type Description
PersistentState System

Public Methods

Method Description
ReadFile ( string filePath ) : PersistentState
ReadStream ( Stream stream ) : PersistentState
SaveFile ( string filePath, PersistentState state ) : bool
SaveStream ( Stream stream, PersistentState state ) : bool

Private Methods

Method Description
PersistentState ( ) : System

Method Details

ReadFile() public static method

public static ReadFile ( string filePath ) : PersistentState
filePath string
return PersistentState

ReadStream() public static method

public static ReadStream ( Stream stream ) : PersistentState
stream Stream
return PersistentState

SaveFile() public static method

public static SaveFile ( string filePath, PersistentState state ) : bool
filePath string
state PersistentState
return bool

SaveStream() public static method

public static SaveStream ( Stream stream, PersistentState state ) : bool
stream Stream
state PersistentState
return bool