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); }
public LocalShellParameter(LocalShellParameter src) : base(src) { _home = src._home; _shellName = src._shellName; _cygwinDir = src._cygwinDir; }
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); }
private static bool IsCygwin(LocalShellParameter tp) { return true; }
public override object Deserialize(StructuredText node) { LocalShellParameter t = new LocalShellParameter(); Deserialize(t, node); return t; }
private static bool IsCygwin(LocalShellParameter tp) { return(true); }