Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 static public IEnumerable <Nook> GetNooks(this NookSystem item, string path)
 {
     return(item.GetPaths(path)
            .Convert(p => item.GetNook(p)));
 }