Exemple #1
0
 public string GetFolderPath(Env.SpecialFolder folder)
 {
     return(Env.GetFolderPath(folder));
 }
Exemple #2
0
 public string GetFolderPath(Env.SpecialFolder folder, Env.SpecialFolderOption option)
 {
     return(Env.GetFolderPath(folder, option));
 }
 /* ----------------------------------------------------------------- */
 ///
 /// GetName
 ///
 /// <summary>
 /// Gets the directory name corresponding to the specified value.
 /// </summary>
 ///
 /// <param name="src">
 /// Value that represents the special folder.
 /// </param>
 ///
 /// <returns>Directory name.</returns>
 ///
 /* ----------------------------------------------------------------- */
 public static string GetName(this Source.SpecialFolder src) => Source.GetFolderPath(src);