public TerminalParameter(TerminalParameter src) { _terminalType = src._terminalType; _initialWidth = src._initialWidth; _initialHeight = src._initialHeight; _autoExecMacroPath = src._autoExecMacroPath; }
public void Serialize(TerminalParameter tp, StructuredText node) { if (tp.TerminalType != TerminalParameter.DEFAULT_TERMINAL_TYPE) node.Set("terminal-type", tp.TerminalType); if (tp.AutoExecMacroPath != null) node.Set("autoexec-macro", tp.AutoExecMacroPath); }
public void Deserialize(TerminalParameter tp, StructuredText node) { tp.SetTerminalName(node.Get("terminal-type", TerminalParameter.DEFAULT_TERMINAL_TYPE)); tp.AutoExecMacroPath = node.Get("autoexec-macro", null); }