コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VmDirEntry" /> class.
 /// </summary>
 /// <param name="fstatInfo">fstatInfo.</param>
 /// <param name="fullPath">FullPath is the full path of the file/directory..</param>
 /// <param name="name">Name is the name of the file or folder. For /test/file.txt, name will be file.txt..</param>
 /// <param name="type">DirEntryType is the type of entry i.e. file/folder. Specifies the type of directory entry.  &#39;kFile&#39; indicates that current entry is of file type. &#39;kDirectory&#39; indicates that current entry is of directory type. &#39;kSymlink&#39; indicates that current entry is of symbolic link..</param>
 public VmDirEntry(FileStatInfo fstatInfo = default(FileStatInfo), string fullPath = default(string), string name = default(string), TypeEnum?type = default(TypeEnum?))
 {
     this.FullPath  = fullPath;
     this.Name      = name;
     this.Type      = type;
     this.FstatInfo = fstatInfo;
     this.FullPath  = fullPath;
     this.Name      = name;
     this.Type      = type;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileFstatResult" /> class.
 /// </summary>
 /// <param name="cookie">Cookie is used for paginating results. If ReadVMDirResult is returning partial results, this field will be set. Supplying this cookie will resume listing from where this result left off..</param>
 /// <param name="fstatInfo">fstatInfo.</param>
 public FileFstatResult(int?cookie = default(int?), FileStatInfo fstatInfo = default(FileStatInfo))
 {
     this.Cookie    = cookie;
     this.Cookie    = cookie;
     this.FstatInfo = fstatInfo;
 }