コード例 #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));
 }
コード例 #2
0
ファイル: QuickIO.cs プロジェクト: nagyist/QuickIO
 /// <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));
 }
コード例 #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));
 }