Exemplo n.º 1
0
        public override ITerminalSettings Clone()
        {
            PipeTerminalSettings ts = new PipeTerminalSettings();

            ts.Import(this);
            return(ts);
        }
        public object Deserialize(StructuredText node) {
            PipeTerminalSettings ts = new PipeTerminalSettings();

            StructuredText baseNode = node.GetChildOrNull(0);
            if (baseNode != null) {
                TerminalSettings baseTs = PipePlugin.Instance.SerializeService.Deserialize(baseNode) as TerminalSettings;
                if (baseTs != null) {
                    ts.Import(baseTs);
                }
            }
            return ts;
        }
Exemplo n.º 3
0
 public override ITerminalSettings Clone() {
     PipeTerminalSettings ts = new PipeTerminalSettings();
     ts.Import(this);
     return ts;
 }