public void Folder(string name, string path, FolderDelegate subfolderDelegate)
        {
            string subPath;

              VirtualFolder child = new VirtualFolder(provider.CreateGuid(), name);
              AddFolderWithLookup(this.parent, child);

              if (path == null) {
            subPath = this.path;
              } else {
            subPath = this.path + "/" + path;
              }

              subfolderDelegate(new FolderStructure(child, this.provider, subPath));
        }
 public void Folder(string name, FolderDelegate subfolderDelegate)
 {
     Folder(name, null, subfolderDelegate);
 }
 public static void Folder(VirtualFolder parent, BBCiPlayerProvider provider, string path, FolderDelegate subfolderDelegate)
 {
     FolderStructure f = new FolderStructure(parent, provider, path);
       subfolderDelegate(f);
 }