Table of Contents

Class PersistentSettings

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Represents a base class for classes designed to save/restore key properties of some object.

public class PersistentSettings : IPersistentSettings, IImport, IExport
Inheritance
PersistentSettings
Implements
Derived

Properties

SerializationInfo

Gets or sets an xml representation of this PersistentSettings object.

Methods

Assign(IPersistentSettings)

Copies the contents from another IPersistentSettings object.

GetXmlType()

Returns Type object for a class that contain control's settings information. In this class method returns null. Descendant classes can override this method.

LoadFile(string)

Loads IPersistentSettings content from the specified file.

LoadFile(string, Encoding)

Loads IPersistentSettings content from the specified file with specified encoding.

LoadStream(Stream)

Loads IPersistentSettings content from the specified stream with specified encoding.

LoadStream(Stream, Encoding)

Loads IPersistentSettings content from the specified stream with specified encoding.

LoadStream(TextReader)

Loads IPersistentSettings content from the specified stream.

SaveFile(string)

Saves IPersistentSettings content to the specified file.

SaveFile(string, Encoding)

Saves IPersistentSettings content to the specified file with specific encoding.

SaveStream(Stream)

Saves IPersistentSettings content to the specified stream.

SaveStream(Stream, Encoding)

Saves IPersistentSettings content to the specified stream with specific encoding.

SaveStream(TextWriter)

Saves IPersistentSettings content to the specified stream.