コード例 #1
0
        public TransientIO GetSubFolder(string path)
        {
            var subFolder = this.GetRelativePath(path);

            if (!this.Children.TryGetValue(subFolder, out var result))
            {
                result = new TransientIO(this, subFolder);
                this.Children.Add(subFolder, result);
            }

            return(result);
        }
コード例 #2
0
 private TransientIO(TransientIO parent, string subFolder)
 {
     this.SubFolder = subFolder;
     this.Parent    = parent;
 }