static public Nook GetChangeNook(this NookSystem item, string path, Nook src_nook) { Nook dst_nook = item.GetNook(path); if (src_nook != null && src_nook.IsPresent()) { src_nook.MoveTo(dst_nook); } return(dst_nook); }
public Nook_Basic(string p, NookSystem n) { path = p; nook_system = n; }
static public IEnumerable <Nook> GetNooks(this NookSystem item, string path) { return(item.GetPaths(path) .Convert(p => item.GetNook(p))); }
static public Nook GetNook(this NookSystem item, string path) { return(new Nook_Basic(path, item)); }
public NookSystem_SubPath(string s, NookSystem n) { sub_path = s; nook_system = n; }