Exemple #1
0
 /// <summary>
 /// Configure default file access option
 /// </summary>
 /// <param name="fileAccessOption">File access option</param>
 public static void ConfigureDefault(FileAccessOptions fileAccessOption)
 {
     Default = fileAccessOption;
 }
Exemple #2
0
 /// <summary>
 /// Get file full path
 /// </summary>
 /// <param name="fileAccessOption">File access option</param>
 /// <param name="relativePath">File path</param>
 /// <returns>Return file full path</returns>
 public static string GetFileFullPath(FileAccessOptions fileAccessOption, string relativePath)
 {
     return(fileAccessOption?.GetFilePath(relativePath) ?? relativePath);
 }