C# Class Blogposter.Utils

Show file Open project: ozamosi/tomboy-blogposter

Public Methods

Method Description
DecodePass ( XmlNode account ) : string
EncodePass ( string cleartextpass ) : string
OpenXmlfile ( ) : XmlDocument
SaveXmlfile ( XmlDocument doc ) : void
SelectSingleNodeText ( XmlNode root_node, string node_name ) : string
SetOrUpdateNodeText ( XmlNode root_node, string node_name, string new_value ) : void

Method Details

DecodePass() public static method

public static DecodePass ( XmlNode account ) : string
account System.Xml.XmlNode
return string

EncodePass() public static method

public static EncodePass ( string cleartextpass ) : string
cleartextpass string
return string

OpenXmlfile() public static method

public static OpenXmlfile ( ) : XmlDocument
return System.Xml.XmlDocument

SaveXmlfile() public static method

public static SaveXmlfile ( XmlDocument doc ) : void
doc System.Xml.XmlDocument
return void

SelectSingleNodeText() public static method

public static SelectSingleNodeText ( XmlNode root_node, string node_name ) : string
root_node System.Xml.XmlNode
node_name string
return string

SetOrUpdateNodeText() public static method

public static SetOrUpdateNodeText ( XmlNode root_node, string node_name, string new_value ) : void
root_node System.Xml.XmlNode
node_name string
new_value string
return void