C# Class Atmo.Data.PersistentState

Afficher le fichier Open project: wind101net/atmo Class Usage Examples

Private Properties

Свойство Type Description
PersistentState System

Méthodes publiques

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

Private Methods

Méthode Description
PersistentState ( ) : System

Method Details

ReadFile() public static méthode

public static ReadFile ( string filePath ) : PersistentState
filePath string
Résultat PersistentState

ReadStream() public static méthode

public static ReadStream ( Stream stream ) : PersistentState
stream Stream
Résultat PersistentState

SaveFile() public static méthode

public static SaveFile ( string filePath, PersistentState state ) : bool
filePath string
state PersistentState
Résultat bool

SaveStream() public static méthode

public static SaveStream ( Stream stream, PersistentState state ) : bool
stream Stream
state PersistentState
Résultat bool