/// <summary>
 /// Create a directory instance representing a CenterDevice folder
 /// </summary>
 /// <param name="client"></param>
 /// <param name="parent"></param>
 /// <param name="folder"></param>
 public DirectoryInfo(CenterDevice.IO.IOClientBase client, CenterDevice.IO.DirectoryInfo parent, CenterDevice.Rest.Clients.Folders.Folder folder)
 {
     this.ioClient        = client;
     this.parentDirectory = parent;
     this.restFolder      = folder;
     this.restCollection  = null;
 }
Exemple #2
0
 public FileInfo(CenterDevice.IO.IOClientBase client, CenterDevice.IO.DirectoryInfo parentDirectory, CenterDevice.Rest.Clients.Documents.Metadata.DocumentFullMetadata document)
 {
     this.ioClient = client;
     this.parentDirectory = parentDirectory;
     this.document = document;
 }