IPersistable

Ecng.Serialization

Interface for objects whose state can be persisted synchronously using a SettingsStorage.

Métodos

Load
public void Load(SettingsStorage storage)
iPersistable.Load(storage)

Loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
Save
public void Save(SettingsStorage storage)
iPersistable.Save(storage)

Saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.