public List<IFolder> GetFolders() { IFolder folder = new Folder { Name = "Main Template" }; IFolder parentFolder = new Folder { Name = "Parent Template" }; IFolder childFolder = new Folder { Name = "Child Template" }; folder.ParentFolder = parentFolder; folder.ChildFolders = new List<IFolder> { childFolder }; return new List<IFolder> { folder }; }
public List<IFolder> GetFolders() { IFolder folder = new Folder { Name = "Main Document" }; IFolder parentFolder = new Folder { Name = "Parent Document" }; IFolder childFolder = new Folder { Name = "Child Document" }; folder.ParentFolder = parentFolder; folder.ChildFolders = new List<IFolder> { childFolder }; return new List<IFolder> { folder }; }
public List<IFolder> GetFolders() { IFolder folder = new Folder { Name = "Main LibraryItem" }; IFolder parentFolder = new Folder { Name = "Parent LibraryItem" }; IFolder childFolder1 = new Folder { Name = "Child LibraryItem 1" }; IFolder childFolder2 = new Folder { Name = "Child LibraryItem 2" }; IFolder childFolder3 = new Folder { Name = "Child LibraryItem 3" }; folder.ParentFolder = parentFolder; folder.ChildFolders = new List<IFolder> { childFolder1, childFolder2, childFolder3 }; return new List<IFolder> { folder }; }
public List<IFolder> GetFolders() { IFolder folder1 = new Folder { Name = "Main Protocol 1" }; // IFolder parentFolder = new Folder { Name = "Parent Protocol" }; IFolder childFolder1 = new Folder { Name = "Child Protocol1" }; IFolder childFolder2 = new Folder { Name = "Child Protocol2" }; // folder.ParentFolder = parentFolder; folder1.ChildFolders = new List<IFolder> { childFolder1, childFolder2 }; IFolder folder2 = new Folder { Name = "Main Protocol 2" }; // IFolder parentFolder = new Folder { Name = "Parent Protocol" }; IFolder childFolder3 = new Folder { Name = "Child Protocol3" }; IFolder childFolder4 = new Folder { Name = "Child Protocol4" }; IFolder childFolder5 = new Folder { Name = "Child Protocol5" }; folder1.ChildFolders = new List<IFolder> { childFolder3, childFolder4, childFolder5 }; return new List<IFolder> { folder1, folder2 }; }