<PackageReference Include="Relativity.Server.Utility.SDK" Version="14.2.7" />

kCura.Utility.DirectoryElements

public class DirectoryElements
Represents a collection of directories and files.
public enum Results

Enumerates the possible results when populating this DirectoryElements.

public List<string> Directories { get; }

Gets the list of directories stored in this collection.

public List<string> Files { get; }

Gets the list of files stored in this collection.

public Results Result { get; set; }

Gets or sets the result of populating this DirectoryElements.

Initializes a new, empty, instance of DirectoryElements.

public void AddDirectory(string directory)

Adds a directory to this collection.

public void AddFile(string file)

Adds a file to this collection, maintaining sort ordering.