Exemplo n.º 1
0
 /// <summary>
 /// Gets the <see cref="FileAttributes"/> of the directory or file.
 /// </summary>
 /// <param name="info">A directory or file. </param>
 /// <returns>The <see cref="FileAttributes"/> of the directory or file.</returns>
 public static FileAttributes GetAttributes(QuickIOPathInfo info)
 {
     return(InternalQuickIO.GetAttributes(info.FullNameUnc));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the <see cref="FileAttributes"/> of the directory or file.
 /// </summary>
 /// <param name="path">The path to the directory or file. </param>
 /// <returns>The <see cref="FileAttributes"/> of the directory or file.</returns>
 public static FileAttributes GetAttributes(string path)
 {
     Contract.Requires(!String.IsNullOrWhiteSpace(path));
     return(InternalQuickIO.GetAttributes(path));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Gets the <see cref="FileAttributes"/> of the directory or file.
 /// </summary>
 /// <param name="path">The path to the directory or file. </param>
 /// <returns>The <see cref="FileAttributes"/> of the directory or file.</returns>
 public static FileAttributes GetAttributes(string path)
 {
     return(InternalQuickIO.GetAttributes(path));
 }