C# Class Rsdn.Shortcuts.ShortcutSerializer

Exibir arquivo Open project: rsdn/janus Class Usage Examples

Public Methods

Method Description
LoadFromStream ( Stream stream ) : void
LoadNodes ( XmlNode node ) : void
SaveForPreset ( Stream stream ) : bool
SaveToStream ( Stream stream ) : bool
ShortcutSerializer ( ShortcutManager manager ) : System

Private Methods

Method Description
FindNodeType ( string typeName, ShortcutCollection nodes ) : CustomShortcut
HashtableToString ( XmlWriter writer, string>.IEnumerable ht ) : void
LoadNodes ( XmlNode pnode, ShortcutCollection nodes ) : void
LoadPreset ( XmlNode nodes ) : void
LoadPresets ( XmlNode nodes ) : void
SaveCore ( Stream stream, ShortcutCollection nodes, bool forPreset ) : bool
SerializeNodes ( XmlWriter writer, ShortcutCollection nodes ) : void
SerializePresets ( XmlWriter writer ) : void

Method Details

LoadFromStream() public method

public LoadFromStream ( Stream stream ) : void
stream Stream
return void

LoadNodes() public method

public LoadNodes ( XmlNode node ) : void
node System.Xml.XmlNode
return void

SaveForPreset() public method

public SaveForPreset ( Stream stream ) : bool
stream Stream
return bool

SaveToStream() public method

public SaveToStream ( Stream stream ) : bool
stream Stream
return bool

ShortcutSerializer() public method

public ShortcutSerializer ( ShortcutManager manager ) : System
manager ShortcutManager
return System