Inheritance: TerminalParameter, ICygwinParameter
 public void Deserialize(LocalShellParameter tp, StructuredText node)
 {
     base.Deserialize(tp, node);
     tp.Home      = node.Get("home", CygwinUtil.DefaultHome);
     tp.ShellName = node.Get("shellName", CygwinUtil.DefaultShell);
     tp.CygwinDir = node.Get("cygwin-directory", CygwinUtil.DefaultCygwinDir);
 }
        public override object Deserialize(StructuredText node)
        {
            LocalShellParameter t = new LocalShellParameter();

            Deserialize(t, node);
            return(t);
        }
 public void Deserialize(LocalShellParameter tp, StructuredText node)
 {
     base.Deserialize(tp, node);
     tp.Home = node.Get("home", CygwinUtil.DefaultHome);
     tp.ShellName = node.Get("shellName", CygwinUtil.DefaultShell);
     tp.CygwinDir = node.Get("cygwin-directory", CygwinUtil.DefaultCygwinDir);
 }
Exemplo n.º 4
0
 public LocalShellParameter(LocalShellParameter src)
     : base(src)
 {
     _home      = src._home;
     _shellName = src._shellName;
     _cygwinDir = src._cygwinDir;
 }
Exemplo n.º 5
0
 public LocalShellParameter(LocalShellParameter src)
     : base(src)
 {
     _home = src._home;
     _shellName = src._shellName;
     _cygwinDir = src._cygwinDir;
 }
 public void Serialize(LocalShellParameter tp, StructuredText node)
 {
     base.Serialize(tp, node);
     if (CygwinUtil.DefaultHome != tp.Home)
         node.Set("home", tp.Home);
     if (CygwinUtil.DefaultShell != tp.ShellName)
         node.Set("shellName", tp.ShellName);
     if (CygwinUtil.DefaultCygwinDir != tp.CygwinDir)
         node.Set("cygwin-directory", tp.CygwinDir);
 }
 public void Serialize(LocalShellParameter tp, StructuredText node)
 {
     base.Serialize(tp, node);
     if (CygwinUtil.DefaultHome != tp.Home)
         node.Set("home", tp.Home);
     if (CygwinUtil.DefaultShell != tp.ShellName)
         node.Set("shellName", tp.ShellName);
     if (CygwinUtil.DefaultCygwinDir != tp.CygwinDir)
         node.Set("cygwin-directory", tp.CygwinDir);
 }
Exemplo n.º 8
0
 private static bool IsCygwin(LocalShellParameter tp) {
     return true;
 }
 public override object Deserialize(StructuredText node)
 {
     LocalShellParameter t = new LocalShellParameter();
     Deserialize(t, node);
     return t;
 }
Exemplo n.º 10
0
 private static bool IsCygwin(LocalShellParameter tp)
 {
     return(true);
 }