Ejemplo n.º 1
0
 //BACK-BURNER
 public virtual void Export(ConfigNode node)
 {
     node["encoding"]      = EnumDescAttribute.For(typeof(EncodingType)).GetDescription(_encoding);
     node["terminal-type"] = EnumDescAttribute.For(typeof(TerminalType)).GetName(_terminalType);
     node["transmit-nl"]   = EnumDescAttribute.For(typeof(NewLine)).GetName(_transmitnl);
     node["localecho"]     = _localecho.ToString();
     node["linefeed"]      = EnumDescAttribute.For(typeof(LineFeedRule)).GetName(_lineFeedRule);
     if (_caption != null && _caption.Length > 0)
     {
         node["caption"] = _caption;
     }
     if (_renderProfile != null)
     {
         _renderProfile.Export(node);
     }
 }